This project is archived and is in readonly mode.

#1479 ✓wontfix
ronin-38963 (at lighthouseapp)

irregular inflection: drive, drives

Reported by ronin-38963 (at lighthouseapp) | November 26th, 2008 @ 09:22 AM | in 2.x

I encountered an incorrect inflection while using my :drives table. The problem originates from the dwarf->dwarves loaf->loaves rule.

require 'ActiveSupport' # version 2.2.2 => true 'drives'.singularize => "drife"

Please append the Inflector class as so: ActiveSupport::Inflector.inflections.irregular 'drive', 'drives'

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>

People watching this ticket

Pages