first?()
Check if this is the first iteration of the partial.
# File actionview/lib/action_view/renderer/collection_renderer.rb, line 19 def first? index == 0 end