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 [ed3f042e99949526f483d1f567e40031deea33d3] by Andrew White

Revision ed3f042e99949526f483d1f567e40031deea33d3, committed by Andrew White · June 19th, 2010 @ 11:15 PM

Make polymorphic_url and scaffolding work with uncountable resources [#3930 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/ed3f042e99949526f483d1f567e400...

11 changed files

  • M actionpack/lib/action_controller/polymorphic_routes.rb
  • M actionpack/lib/action_controller/record_identifier.rb
  • M actionpack/test/activerecord/polymorphic_routes_test.rb
  • M actionpack/test/controller/record_identifier_test.rb
  • M railties/lib/rails/generators/erb/scaffold/templates/edit.html.erb
  • M railties/lib/rails/generators/erb/scaffold/templates/new.html.erb
  • M railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
  • M railties/lib/rails/generators/named_base.rb
  • M railties/lib/rails/generators/rails/scaffold_controller/templates/controller.rb
  • M railties/lib/rails/generators/test_unit/scaffold/templates/functional_test.rb
  • M railties/test/generators/named_base_test.rb