Adler Santos wrote: > 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.
I assume that @remaining from your controller methods is squirreled away in a hidden field on your form somewhere. After a call to 'Next', how is @remaining getting updated on the form, so that this updated value is available for the next invocation of 'Next'? It doesn't seem that the new @remaining is pushed back out to the form anywhere by your code in next.js.rjs, which means that the updated value from the current invocation of 'next' disappears into the aether. Your next 'next' is reusing the original @remaining. I think. -- Posted via http://www.ruby-forum.com/. -- 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.

