This project is archived and is in readonly mode.
Changeset [e3d8331c5b543ea7ea2024d05bd79526d11341c0] by José Valim
November 18th, 2010 @ 07:22 PM
Revert "Remove deprecated form_for with strings or symbols"
This code was not deprecated. What was deprecated is the following:
form_for(:foo, @foo)
Which now should be rewritten as:
form_for(@foo, :as => :foo)
The following format is valid:
form_for(:foo)
This reverts commit
be797750e6ce866ea08307f63bf35304a965c8d4.
https://github.com/rails/rails/commit/e3d8331c5b543ea7ea2024d05bd79...
Committed by José Valim
- M actionpack/lib/action_view/helpers/form_helper.rb
- M actionpack/test/template/erb/form_for_test.rb
- M actionpack/test/template/erb/helper.rb
- M actionpack/test/template/form_helper_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>