Results 1 to 8 of 8
May 17, 2010, 08:55 #1
- Join Date
- Dec 2004
- 0 Post(s)
- 0 Thread(s)
current row value in with each method
So i'm coming from a coldfusion experience background and when dumping db results to screen there is a method called 'current_row' that will give me the index number of the current record.
Is there something already built into ruby or rails that does the same thing or is this something I have to write myself?your brain reacts in the same way whether you are
looking at something or thinking about it...