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 [c6fac7b449ad88a623d99487d2731dddc6555636] by Timothy N. Tsvetkov

Revision c6fac7b449ad88a623d99487d2731dddc6555636, committed by Timothy N. Tsvetkov · February 16th, 2011 @ 05:09 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/c6fac7b449ad88a623d99487d2731...

2 changed files

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