Let's look at a validation example in Rails 4.x. class User < ActiveRecord::Base validates :email, presence: trueend>> user = User.new>> user.valid?=> false>> user.errors.messages=> {:email=>["can't be blank"]}In this case, we do not get any information about the type of failed validationas ActiveModel#Errors only gives the attribute name and the translated errormessage. This works out well for no
