Revisions

gist: 188819 Download_button fork
public
Public Clone URL: git://gist.github.com/188819.git
Embed All Files: show embed
typo-fix.patch #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 96932cf367ae29f1b69dc9d0e703deb9cd7f9ed4 Mon Sep 17 00:00:00 2001
From: Brian Donovan <brian@wesabe.com>
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