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.

This project is archived and is in readonly mode.

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

#6642

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'

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

State: new
Milestone: none
Assigned to: nobody
Importance: none

Activity

No comments yet.