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 [86f66e9097e177727627ea19e52e027cb0293f82] by Neeraj Singh

Revision 86f66e9097e177727627ea19e52e027cb0293f82, committed by Neeraj Singh · November 11th, 2010 @ 04:18 PM

fields_for should treat ActiveRecord::Relation as an array

[#5795 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/86f66e9097e177727627ea19e52e0...

3 changed files

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