Skip to content

Instantly share code, notes, and snippets.

@mynameispj
Created January 20, 2014 03:19
Show Gist options
  • Save mynameispj/8514357 to your computer and use it in GitHub Desktop.
Save mynameispj/8514357 to your computer and use it in GitHub Desktop.
Render Rails partial multiple times
<% 10.times { -%>
<%= render :partial => '/prototype/partials/story-list/story_list_filler' %>
<% } -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment