rails/rails — pull request #13431 by tanraya (2013-12-21 06:13: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. It shows real Rails Way to beginners.

Before

<%= render 'form' %>

After

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