Method: ActiveRecord::AttributeMethods::Dirty#reload
- Defined in:
- lib/active_record/attribute_methods/dirty.rb
#reload ⇒ Object
reload
the record and clears changed attributes.
63 64 65 66 67 68 |
# File 'lib/active_record/attribute_methods/dirty.rb', line 63 def reload(*) super.tap do @mutations_before_last_save = nil @mutations_from_database = nil end end |