Permalink
Browse files

Fix typo in generate_message documentation.

  • Loading branch information...
1 parent 915cf57 commit f320c994dbf0c1b0c03cd2ddc64aa52a4f5859b8 @rosenfeld rosenfeld committed Jul 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/errors.rb
@@ -113,7 +113,7 @@ def full_messages(options = {})
full_messages
end
- # Translates an error message in it's default scope (<tt>activemodel.errrors.messages</tt>).
+ # Translates an error message in it's 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,

0 comments on commit f320c99

Please sign in to comment.