diff options
author | Rodrigo Rosenfeld Rosas <rr_rosas@yahoo.com.br> | 2009-07-30 13:19:09 -0300 |
---|---|---|
committer | Rodrigo Rosenfeld Rosas <rr_rosas@yahoo.com.br> | 2009-07-30 13:32:47 -0300 |
commit | f320c994dbf0c1b0c03cd2ddc64aa52a4f5859b8 (patch) | |
tree | db689f647a67976bc8a3dc3c7d299e6034035cc2 /activemodel/lib/active_model | |
parent | 915cf5747a78f28f2b25c48574031db60c3a18ae (diff) | |
download | rails-f320c994dbf0c1b0c03cd2ddc64aa52a4f5859b8.tar.gz rails-f320c994dbf0c1b0c03cd2ddc64aa52a4f5859b8.tar.bz2 rails-f320c994dbf0c1b0c03cd2ddc64aa52a4f5859b8.zip |
Fix typo in generate_message documentation.
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r-- | activemodel/lib/active_model/errors.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb index a4cf700231..1f2d20f6e2 100644 --- a/activemodel/lib/active_model/errors.rb +++ b/activemodel/lib/active_model/errors.rb @@ -113,7 +113,7 @@ module ActiveModel 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, |