Skip to content

Instantly share code, notes, and snippets.

@eventualbuddha
Created September 18, 2009 01:26
Show Gist options
  • Save eventualbuddha/188819 to your computer and use it in GitHub Desktop.
Save eventualbuddha/188819 to your computer and use it in GitHub Desktop.
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