This project is archived and is in readonly mode.

#6642 new
kyoto

Rails 3.0.5 "datum/data" inflection rules are used for all words ending with "ta"

Reported by kyoto | March 29th, 2011 @ 04:55 AM

I understand that Rails 3.0.5 changed the pluralization/singularization rules to support "datum" <-> "data", "stratum" <-> "strata", etc.

However, this seems to causes all words ending with "ta" to be pluralized incorrectly.

For example, "delta".pluralize => "delta" and "quota".pluralize => "quota".

The workaround I am using is to fix individual words by adding a rule to config/initializers/inflections.rb like

inflect.plural /(del|quo)ta$/, '\1tas'

No comments found

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