Class: MongoMapper::Plugins::Associations::ManyEmbeddedProxy
- Inherits:
-
EmbeddedCollection
- Object
- EmbeddedCollection
- MongoMapper::Plugins::Associations::ManyEmbeddedProxy
- Defined in:
- lib/congo/support.rb
Instance Method Summary collapse
Instance Method Details
#previous ⇒ Object
11 12 13 |
# File 'lib/congo/support.rb', line 11 def previous @_previous_values || [] end |
#replace_with_dirty_mode(values) ⇒ Object
6 7 8 9 |
# File 'lib/congo/support.rb', line 6 def replace_with_dirty_mode(values) @_previous_values = @_values replace_without_dirty_mode(values) end |