Sweet render shortcut
Published almost 7 years ago

I didn’t really know about this shortcut until I came across this ticket

In edge rails, instead of :

<%= render :partial => 'task', :collection => @tasks %>

You can do :

<%= render :partial => @tasks %>