This project is archived and is in readonly mode.

#1734 ✓resolved
Chris Kampmeier

ActiveRecord::Base#self_and_descendents_from_active_record is misspelled

Reported by Chris Kampmeier | January 12th, 2009 @ 05:16 AM | in 2.x

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!

Comments and changes to this ticket

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>

People watching this ticket

Attachments

Referenced by

Pages