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.

Changeset [149c3d687aba7093c925d8824c610e3639f976bd] by Timothy N. Tsvetkov

Revision 149c3d687aba7093c925d8824c610e3639f976bd, committed 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...

2 changed files

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