This project is archived and is in readonly mode.

Changeset [149c3d687aba7093c925d8824c610e3639f976bd] by Timothy N. Tsvetkov

February 16th, 2011 @ 05:31 PM

Fixed issue #6363, avoid to pluralized already pluralized names and singularize a single in generators, for example stadia is a valid plural for stadium. But calling pluralize for stadia will return stadias which sematically is not corrent in this case

[#6363 state:committed]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/149c3d687aba7093c925d8824c610...

Committed by Timothy N. Tsvetkov

  • M railties/lib/rails/generators/named_base.rb
  • M railties/test/generators/named_base_test.rb

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>