method
store_original_attributes
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods::Dirty
store_original_attributes()private
No documentation available.
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 130
def store_original_attributes
@attributes = @attributes.map(&:forgetting_assignment)
@mutation_tracker = nil
end