I’ve got a partial in a loop like so…
<% things.each do |thing| %><%= render :partial => "thingy", :locals => { :something => something, :thing => thing } %><% end %>
This just doesn’t seem very railsy, I was wondering if there more efficient way of putting partials in a loop.
Rename your partial from ‘thingy’ to ‘thing’ and do this:
I couldn’t think of anything more Railsy.