This project is archived and is in readonly mode.
Inflector bug, changes ves -> fe
Reported by Wil Crespo | March 19th, 2010 @ 01:34 AM
Line 26 of rails / activesupport / lib / active_support / inflections.rb
Shows
inflect.singular(/([^f])ves$/i, '\1fe')
This is a typo, it should be changes to ve. Example:
"raves".singularize gives "rafe"
Comments and changes to this ticket
-
José Valim March 27th, 2010 @ 12:03 PM
- State changed from new to invalid
Rails has a policy of not accepting more inflections.
-
Yehuda Katz (wycats) March 27th, 2010 @ 12:10 PM
To clarify, this inflection is there for "knives" => "knife", and "calves" => "calf" etc.
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>