method
changed?
v5.1.7 -
Show latest stable
- Class:
ActiveModel::Type::Value
changed?(old_value, new_value, _new_value_before_type_cast)public
Determines whether a value has changed for dirty checking. old_value and new_value will always be type-cast. Types should not need to override this method.