In the commit rails/rails@f888fad it was introduced the method record_attribute_changed_in_place? to ActiveModel::Validations::NumericalityValidator which calls record.attribute_changed_in_place?.
The intention was that if this method was added by ActiveRecord::AttributeMethods::Dirty then it would be called.
The problem is that Her::Model doesn't include that and doesn't implement that but it responds to that because it assumes on https://github.com/remiprev/her/blob/master/lib/her/model/attributes.rb#L74 that attribute_changed_in_place is a new attribute.
Her version: 0.8.1
Active model version: 4.2.4
In the commit rails/rails@f888fad it was introduced the method
record_attribute_changed_in_place?toActiveModel::Validations::NumericalityValidatorwhich callsrecord.attribute_changed_in_place?.The intention was that if this method was added by
ActiveRecord::AttributeMethods::Dirtythen it would be called.The problem is that
Her::Modeldoesn't include that and doesn't implement that but it responds to that because it assumes on https://github.com/remiprev/her/blob/master/lib/her/model/attributes.rb#L74 thatattribute_changed_in_placeis a new attribute.Her version: 0.8.1
Active model version: 4.2.4