Nothing to display jet.
Sometimes there are some external validations that are brought in our #active_record models by some gems. Usually these validations are useful, but sometimes we don't want such validations, if we want redefine some gem's behavior.
So, I show you how to cancel validation in ActiveRecord model, for example Devise's validation of email uniqueness. More under the cut
Today I tried to guess why my error messages aren't translated and found a nice debug method.
keys method of
ActiveModel::Errors. example under the cut