On 17 March 2016 at 22:46, Sai Ch <lists@ruby-forum.com> wrote:
> I am using global variables to store those 2 values wen I call 2nd
> action after I call 1st action those are set to nil.
Even if you worked out why that was happening it is not safe, as I
mentioned in my previous post there may be multiple instances of the
server running in production so this would not work.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtG_G_OOjdYGtbimYSR7GTjxvXi3EFJuDOW_0TXEreGgw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment