This project is archived and is in readonly mode.
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
-
CancelProfileIsBroken March 7th, 2009 @ 07:34 PM
- State changed from new to invalid
Just tested on 2.3 RC2, working fine.
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>