Skip to content

Instantly share code, notes, and snippets.

@goldnuggets24
Created May 16, 2014 15:30
Show Gist options
  • Save goldnuggets24/20c716391e58cac1c930 to your computer and use it in GitHub Desktop.
Save goldnuggets24/20c716391e58cac1c930 to your computer and use it in GitHub Desktop.
- @email.deals.each_with_index do |deal, i|
- if i%6 == 0
%tr
= render :partial => 'admin/emails/gifts', :locals => {:deal => deal, :i => i}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment