On Apr 22, 1:25 am, Ar Chron <[email protected]> wrote:
> Somewhere you need to keep track of which iteration of "Next" you are on
> in the view - perhaps a hidden field would suffice.
>
> A processing heavy version would use in_groups_of in the controller to
> let you walk the groups and just return the one you want (along with the
> new current set so you know that on the next 'Next' iteration).

I looked at the log to have an idea what's going on after pressing the
"next" button  a couple of times (with nothing happening). It keeps
reading @remaining containing the 2nd group of projects with all the
remaining projects after it. This means it doesn't process the
"@remaining = @everything - @newthumbs" within the "next" method. Is
there a line of code I'm missing that will allow the execution of the
"next" method and will overwrite the initial @remaining that was
produced by the "index" method? Thanks.

-- 
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.

Reply via email to