Fixing typo in ActiveRecord::Errors documentation

This commit is contained in:
Jay Pignata
2009-09-17 23:03:36 -04:00
parent fb404216c9
commit 38e6eb74ab

View File

@@ -113,7 +113,7 @@ module ActiveModel
full_messages
end
# Translates an error message in it's default scope (<tt>activemodel.errors.messages</tt>).
# 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 that is not there it returns the translation of the
# default message (e.g. <tt>activemodel.errors.messages.MESSAGE</tt>). The translated model name,