Joined January 2013
·

Dave Gerton

pinch/zoom
·
Seattle
·
·
·

Your render line can be shortened:

<%= render @posts %>

Rails understands that @posts is a collection of Post models and will render each with the _post.html.erb template.

Achievements
70 Karma
2,079 Total ProTip Views