Skip to content

Instantly share code, notes, and snippets.

@joshmvandercom
Created March 29, 2011 23:34
Show Gist options
  • Save joshmvandercom/893567 to your computer and use it in GitHub Desktop.
Save joshmvandercom/893567 to your computer and use it in GitHub Desktop.
In groups of
<div class="users">
<% users.in_groups_of(10, false) do |user_group| %>
<div class="user-row">
<% for user in user_group %>
your user here
<% end %>
</div>
<% end %>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment