Mk 27 wrote: > I am using a global array to accumulate controller output as it is added > to the display, eg, when the user adds more items to a list, I add them > to the global.
Don't ever do that. Forget that globals exist. They cause problems with maintainability and (I think) concurrency. In this case, you should probably be using a local or @instance variable in the controller. Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---