Let's say I have 16 results
On every 4th item I need to add a class "no-margin" (because every item on the left needs a margin right to create spacing but the last one doing that would break the layout, thus the need for this).
What's the best way to do this?
I have it very rails-like right now.
render :partial => @collection
_collection.html.haml
stuff
Is there something that I can put in the partial that would solve this or would it have to happen outside?
Thanks.