method
attribute_changed?
v7.2.3 -
Show latest stable
- Class:
ActiveModel::AttributeMutationTracker
attribute_changed?(attr_name)private
No documentation available.
# File activemodel/lib/active_model/attribute_mutation_tracker.rb, line 78
def attribute_changed?(attr_name)
forced_changes.include?(attr_name) || !!attributes[attr_name].changed?
end