.each on collection on index view created by scaffold

Hi,

I’m new here :D.

I noticed that when you use scaffold it creates an index view and inside that index view it uses ‘.each’ on the collection rather than using
<%= render @cats %>

``

with a partial _cat.html.erb. I see this as a good opportunity for new users of the framework to learn the feature.

I have modified the scaffold generator to create the required partial and use the render syntax, should I create a PR or is it oversight on my part?

Related commit:

https://github.com/Otterpocket/rails/commit/5e78d07f1a1353f38950fd6d621ed503970c2016

Hi Ben,

good point. I would definitely add a PR for that.

Thanks!