This project is archived and is in readonly mode.

#968 ✓wontfix
btsavage

singularize / pluralize

Reported by btsavage | September 4th, 2008 @ 05:02 AM | in 2.x

I bet you guys fix a lot of hard bugs; this one is not. I hope this one is fun!

Current Behaviour of the function tableize:

moose => mooses cattle => cattles deer => deers salmon => salmons

These should all be the same plural and singular. I'm impressed that "mouse" and "fish" already were correct!

Also,

goose => gooses

It should be geese

Thanks!

--Ben

Comments and changes to this ticket

  • Jeremy Kemper

    Jeremy Kemper September 4th, 2008 @ 07:31 AM

    • State changed from “new” to “wontfix”

    Hey Ben, thanks for the report, but this is why we no longer do special cases in Rails core.

    Instead, you can define your own inflection rules in your app's environment! Much nicer.

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

Pages