Closed be9 closed 3 years ago
Same issue here, I assume date_validator should use namespaced errors?
As a temp fix I had to add this to my locale file:
en:
activerecord:
errors:
messages:
equal_to: "must be equal to %{count}"
:+1:
I have run into this problem as well. @dolzenko's fix worked for me as well, but I presume this would break date_validator's equal_to
option message.
Closed by #77
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.