Module: Couchbase::Model::Dirty::ClassMethods
- Defined in:
- lib/couchbase/model/dirty.rb
Instance Method Summary collapse
-
#_find_with_cleaning(quiet, *ids) ⇒ Object
If we’re just loaded from the database, we’re not dirty.
Instance Method Details
#_find_with_cleaning(quiet, *ids) ⇒ Object
If we’re just loaded from the database, we’re not dirty
25 26 27 28 29 |
# 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 |