Created
September 18, 2009 01:26
-
-
Save eventualbuddha/188819 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 96932cf367ae29f1b69dc9d0e703deb9cd7f9ed4 Mon Sep 17 00:00:00 2001 | |
From: Brian Donovan <[email protected]> | |
Date: Thu, 17 Sep 2009 18:08:20 -0700 | |
Subject: [PATCH] Fix typo. | |
--- | |
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 590420d..48be022 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, | |
-- | |
1.6.2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment