From: [email protected]
[mailto:[email protected]] On Behalf Of Guillaume
Sent: Thursday, August 17, 2006 8:56 AM
To: [email protected]
Subject: [Rails] Knowing the partial iteration number
How can I know the iteration number of a render (:partial) iterating
through a collection?
I got a collection containing 3 elements:
John would respond to 1, Pierre to 2 and Chris to 3 and so on…
Kind of like the cycle method acts but to know the iteration number.