Class: MongoMapper::Plugins::Associations::EmbeddedCollection
- Defined in:
- lib/mm_partial_update/extensions.rb
Instance Method Summary collapse
Instance Method Details
#make_persistable ⇒ Object
24 25 26 |
# File 'lib/mm_partial_update/extensions.rb', line 24 def make_persistable class << self; include MmPartialUpdate::EmbeddedCollection; end unless persistable? end |
#persistable? ⇒ Boolean
20 21 22 |
# File 'lib/mm_partial_update/extensions.rb', line 20 def persistable? kind_of?(MmPartialUpdate::EmbeddedCollection) end |