This project is archived and is in readonly mode.

#1840 ✓committed

Scaffolding Cleanup

Reported by CancelProfileIsBroken | February 1st, 2009 @ 04:49 PM | in 2.x

We should clean up two things in scaffolding that are a source of confusion to new developers (as measured by questions via IRC and elsewhere):

1) The index action in the controller should use .all instead of .find(:all)

2) The index view should use +@entities.each do |entity|+ instead of +for entity in @entities+.

Comments and changes to this ticket

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=""></a>

People watching this ticket


Referenced by