ryanb/nested_form — Issue #121: render :partial => f convention stop't to work
Author: gorn
Created: 2011-12-01 23:57:21+00:00
State: open

It is rather confusing than a bug so it might only need a note in docs which state that you should replace form_for by nested_form_for, but after this the usual code like this:

```ruby
<%= nested_form_for @report do |new_report_form| %>
<%= render :partial => new_report_form } %>
<% end %>
```
stop's working and should be replaced by

```ruby
<%= nested_form_for @report do |new_report_form| %>
<%= render :partial => 'form', :locals => { :form => new_report_form } %>
<% end %>
```
I hope I did not miss anything obvious