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.

ActiveRecord::Base#self_and_descendents_from_active_record is misspelled

#1734

It should be descendants, with an A. In standard usage, "descendant" is the noun and "descendent" is the adjective. This is also the common usage across the Rails codebase.

Normally I don't know if I'd change an established method name just for that, but 1) it's marked :nodoc: and 2) there's another method in AR::Base called #class_of_active_record_descendant, and it's weird that the two aren't consistent.

Here's a patch!

Reported by Chris Kampmeier · January 12th, 2009 @ 05:16 AM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [3c64c9a5756193247ac87bb55326b6387dfd3070]) Fix spelling of an internal method [#1734 ActiveRecord::Base#self_and_descendents_from_active_record is misspelled state:resolved]

    Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...

    March 12th, 2009 @ 03:44 PM