On 9/11/10, Agoofin <[email protected]> wrote: > Or include a separate variable with the sum you want to include in > addition to the will_paginate variable. > > @figures = Figures.paginate... > @figure_sum = Figures.sum(... >
This will only give me the running total per page, not the cumulative sum on a row by row basis. @figure_sum is similar to what I am using to pass the running total up to the current page into the next page. Thanks for the reply though. Regards, Fidel. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

