This project is archived and is in readonly mode.

#4228 ✓invalid
Wil Crespo

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

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>

Pages