instance method
mutations_from_database
Ruby on Rails 6.1.7.10
Since v5.2.8.1 PrivateSignature
mutations_from_database()
No documentation comment.
Source
# File activemodel/lib/active_model/dirty.rb, line 253
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 253
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Dirty