aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorBrian Donovan <brian@wesabe.com>2009-09-17 18:08:20 -0700
committerYehuda Katz <wycats@gmail.com>2009-09-17 18:30:28 -0700
commitf183288050beedf3a89e0bf5b9059bb014346097 (patch)
treef3686a0e1a47a89e6847db6884f7cc985b1d30a0 /activemodel
parent3fc2d1ebd932428548961ce509c55fecc00f448e (diff)
downloadrails-f183288050beedf3a89e0bf5b9059bb014346097.tar.gz
rails-f183288050beedf3a89e0bf5b9059bb014346097.tar.bz2
rails-f183288050beedf3a89e0bf5b9059bb014346097.zip
Fix typo.
Signed-off-by: Yehuda Katz <wycats@gmail.com>
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/errors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb
index 590420de0b..7a48960f89 100644
--- a/activemodel/lib/active_model/errors.rb
+++ b/activemodel/lib/active_model/errors.rb
@@ -114,7 +114,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 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,