Fix error messages scope [skip ci]
This commit is contained in:
parent
970fe27b02
commit
095b92af6c
@ -388,8 +388,8 @@ def full_message(attribute, message)
|
||||
# Translates an error message in its default scope
|
||||
# (<tt>activemodel.errors.messages</tt>).
|
||||
#
|
||||
# Error messages are first looked up in <tt>models.MODEL.attributes.ATTRIBUTE.MESSAGE</tt>,
|
||||
# if it's not there, it's looked up in <tt>models.MODEL.MESSAGE</tt> and if
|
||||
# Error messages are first looked up in <tt>activemodel.errors.models.MODEL.attributes.ATTRIBUTE.MESSAGE</tt>,
|
||||
# if it's not there, it's looked up in <tt>activemodel.errors.models.MODEL.MESSAGE</tt> and if
|
||||
# that is not there also, it returns the translation of the default message
|
||||
# (e.g. <tt>activemodel.errors.messages.MESSAGE</tt>). The translated model
|
||||
# name, translated attribute name and the value are available for
|
||||
|
Loading…
Reference in New Issue
Block a user