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