Skip to content

Instantly share code, notes, and snippets.

@kevinvangelder
Created July 10, 2013 00:28
Show Gist options
  • Save kevinvangelder/5962545 to your computer and use it in GitHub Desktop.
Save kevinvangelder/5962545 to your computer and use it in GitHub Desktop.
albums-each.rb
- c = 0
- @albums.each do |a|
- if c == 0 || c % 3 == 0
- if c != 0
</div>
<div class="row-fluid">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment