search for: partialname_counter

Displaying 2 results from an estimated 2 matches for "partialname_counter".

2006 Jul 13
2
partial_counter
Hi, i was wondering if there was any conventional way to find out (via the partialname_counter, or any other way) which partial is the last in a set of partials ( render :partial => ''name'', :collection => ''@somethings'') so that i can display some kind of variable in the last partial. there''s got to be some neat way to do this? (like sett...
2006 Aug 17
2
Knowing the partial iteration number
Hi, How can I know the iteration number of a *render (:partial)* iterating through a collection? Example: I got a collection containing 3 elements: *John *Pierre *Chris 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. Guillaume Carbonneau -------------- next part -------------- An HTML attachment was