Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Typo fix

#3229

Just a documentation typo fix.

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

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Brian Donovan
    Brian Donovan

    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
    

    September 18th, 2009 @ 02:21 AM

  2. Brian Donovan
    Brian Donovan

    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
    

    September 18th, 2009 @ 02:22 AM

  3. John Pignata
    John Pignata
    • Tag changed from patch to fixed, patch

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

    This ticket can be closed.

    September 18th, 2009 @ 04:05 AM

  4. CancelProfileIsBroken
    CancelProfileIsBroken
    • State changed from new to resolved

    September 25th, 2009 @ 12:01 PM