Module: Soulless::Dirty
- Included in:
- Model
- Defined in:
- lib/soulless/dirty.rb
Instance Method Summary collapse
Instance Method Details
#apply_changes ⇒ Object
3 4 5 |
# File 'lib/soulless/dirty.rb', line 3 def apply_changes changes_applied end |
#reload_changes! ⇒ Object
7 8 9 |
# File 'lib/soulless/dirty.rb', line 7 def reload_changes! clear_changes_information end |
#rollback_changes!(attributes = changed) ⇒ Object
11 12 13 |
# File 'lib/soulless/dirty.rb', line 11 def rollback_changes!(attributes = changed) restore_attributes(attributes) end |