This project is archived and is in readonly mode.
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
-
Repository March 12th, 2009 @ 03:44 PM
- State changed from new to resolved
(from [3c64c9a5756193247ac87bb55326b6387dfd3070]) Fix spelling of an internal method [#1734 state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
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
- 1734 ActiveRecord::Base#self_and_descendents_from_active_record is misspelled (from [3c64c9a5756193247ac87bb55326b6387dfd3070]) Fix spe...