instance method
mutations_from_database
Ruby on Rails 7.1.6
Since v5.2.8.1 PrivateSignature
mutations_from_database()
No documentation comment.
Source
# File activemodel/lib/active_model/dirty.rb, line 375
def mutations_from_database
@mutations_from_database ||= if defined?(@attributes)
ActiveModel::AttributeMutationTracker.new(@attributes)
else
ActiveModel::ForcedMutationTracker.new(self)
end
end
Defined in activemodel/lib/active_model/dirty.rb line 375
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Dirty