This project is archived and is in readonly mode.

#3229 ✓resolved
Brian Donovan

Typo fix

Reported by Brian Donovan | September 18th, 2009 @ 02:10 AM

Just a documentation typo fix.

Comments and changes to this ticket

  • Brian Donovan

    Brian Donovan September 18th, 2009 @ 02:21 AM

    I'd upload a patch, but lighthouse doesn't seem to be accepting attachments.

    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.errrors.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
    
  • Brian Donovan

    Brian Donovan September 18th, 2009 @ 02:22 AM

    Actually, there are two typos on that line.

    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
    
  • John Pignata

    John Pignata September 18th, 2009 @ 04:05 AM

    • Tag changed from patch to fixed, patch

    Checked this patch into docrails - http://github.com/lifo/docrails/commit/38e6eb74abdf379ceb02ae896c0f...

    This ticket can be closed.

  • CancelProfileIsBroken

    CancelProfileIsBroken September 25th, 2009 @ 12:01 PM

    • State changed from “new” to “resolved”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Tags

Pages