instance method
normalized_attribute_changed_in_place?
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
normalized_attribute_changed_in_place?(attribute)
No documentation comment.
Parameters
-
attributereq
Source
# File activemodel/lib/active_model/attributes/normalization.rb, line 147
def normalized_attribute_changed_in_place?(attribute)
attribute.changed_in_place? && attribute.value != attribute.type_cast(attribute.value_before_type_cast)
end
Defined in activemodel/lib/active_model/attributes/normalization.rb line 147
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Attributes::Normalization