Path: | lib/features/extended_error_messages.rb |
Last Update: | Wed Oct 03 18:09:05 +0200 2007 |
Extends the processing of ActiveRecord error messages to make it possible to insert the current model and attribute name into the error messages.
The :attr is invalid The :attr of :model is invalid
As soon as :attr is found in an error message the full_messages method will not prefix the error message with an attribute name.
This feature doen‘t use entries form the language.