rails/rails — pull request #13434 by tanraya (2013-12-21 09:41:41+00:00)
Title: Use local variables in _form.html.erb generated by scaffold generator.

It seems a good idea to use local variables in generated partials instead of using instance variables.

Before

<%= render 'form' %>

After

<%= render 'form', product: @product %>