Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

singularize / pluralize

#968

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

Reported by btsavage · September 4th, 2008 @ 05:02 AM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Jeremy Kemper
    Jeremy Kemper
    • 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.

    September 4th, 2008 @ 07:31 AM