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 [63458994896c6e1b57f5c8716c637d74f1bb1c9e] by Carlos Antonio da Silva

Revision 63458994896c6e1b57f5c8716c637d74f1bb1c9e, committed by Carlos Antonio da Silva · September 25th, 2010 @ 07:13 PM

Remove last tests with deprecated form_for and cleanup form_for helper

This cleans up the last bits of deprecation stuff from form_for helper.
However there is still a bug when using :as => foo[], with index. The
classes and ids are being generated using [], such as foo[]_edit. This
bug already existed but it was not detected before.
http://github.com/rails/rails/commit/63458994896c6e1b57f5c8716c637d...

2 changed files

  • M actionpack/lib/action_view/helpers/form_helper.rb
  • M actionpack/test/template/form_helper_test.rb