This project is archived and is in readonly mode.

#1768 ✓invalid
Darren Schreiber

Inflection for "commerce" does not work

Reported by Darren Schreiber | January 16th, 2009 @ 12:28 AM | in 2.x

I may be doing something wrong, but after spending 2 hours in IRC and creating several test rails installs, I could not get scaffolding to create properly for the word "commerce" even after adding an inflection into the config.

Is there something special about this word?

rails 2.2.2 script/generate scaffold commerce

in config/initializer/inflections.rb: ActiveSupport::Inflector.inflections do |inflect| inflect.uncountable %w{ commerce } end

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=""></a>