instance method
mutations_before_last_save
Ruby on Rails 6.0.6.1
Since v5.1.7 Last seen in v6.0.6.1 Private — implementation detail, not part of the public APIAvailable in: v5.1.7 v6.0.6.1
Signature
mutations_before_last_save()
No documentation comment.
Source
# File activerecord/lib/active_record/attribute_methods/dirty.rb, line 164
def mutations_before_last_save
sync_with_transaction_state if @transaction_state&.finalized?
super
end
Defined in activerecord/lib/active_record/attribute_methods/dirty.rb line 164
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::AttributeMethods::Dirty