module Couchbase::Model::Dirty::ClassMethods

Public Instance Methods

_find_with_cleaning(quiet, *ids) click to toggle source

If we’re just loaded from the database, we’re not dirty

# File lib/couchbase/model/dirty.rb, line 25
def _find_with_cleaning(quiet, *ids)
  _find_without_cleaning(quiet, *ids).tap do |results|
    Array(results).each {|instance| instance.send :clean! }
  end
end