Module: SuperModel::Dirty
- Extended by:
- ActiveSupport::Concern
- Includes:
- ActiveModel::Dirty
- Included in:
- Base
- Defined in:
- lib/supermodel/dirty.rb
Instance Method Summary collapse
Instance Method Details
#save_previous_changes ⇒ Object
19 20 21 22 |
# File 'lib/supermodel/dirty.rb', line 19 def save_previous_changes @previously_changed = changes @changed_attributes.clear end |