You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActiveModel contains own definition of errors.messages.equal_to, as seen in here. date_validator redefines it here which causes breakage. E.g. I get following in my specs:
I18n::MissingInterpolationArgument:
missing interpolation argument :date in "must be equal to %{date}" ({:model=>"Site", :attribute=>"Monthly payment", :value=>1.0, :count=>0} given)
ActiveModel variant is "must be equal to %{count}" and it works if date_validator is not loaded.
The text was updated successfully, but these errors were encountered:
ActiveModel contains own definition of
errors.messages.equal_to
, as seen in here. date_validator redefines it here which causes breakage. E.g. I get following in my specs:ActiveModel variant is
"must be equal to %{count}"
and it works if date_validator is not loaded.The text was updated successfully, but these errors were encountered: