rails/rails — comment on commit 8620bf90c5e486e1ec44b9aabb63f8c848668ed2
File: activemodel/lib/active_model/errors.rb line 222
By josevalim:

The message is not enough here. We also need the attribute name, otherwise we get stuff like:

ActiveModel::StrictValidationFailed:
can't be blank

With no mention at all of the attribute that failed.