method
mutations_from_database
v5.2.3 -
Show latest stable
- Class:
ActiveModel::Dirty
mutations_from_database()private
No documentation available.
# 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