method
change_to_attribute
v8.0.0 -
Show latest stable
- Class:
ActiveModel::AttributeMutationTracker
change_to_attribute(attr_name)public
No documentation available.
# File activemodel/lib/active_model/attribute_mutation_tracker.rb, line 34
def change_to_attribute(attr_name)
if changed?(attr_name)
[original_value(attr_name), fetch_value(attr_name)]
end
end