On Fri, Sep 14, 2012 at 4:12 AM, Avi <aavinash.beh...@gmail.com> wrote: > Hello, > > How can I pass session id through my rails application to a rest client > through HTTParty or RestClient?
I would consider this a security problem, and a major one at that but whatever who am I judge your bad security. You need to serialize the object, I don't know about the default session handler but I think it responds to load and dump and even if it doesn't you can always use Marshal to Marshal the object but that means that the guy down the way needs some of your code possibly to unmarshal it. -- 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 https://groups.google.com/groups/opt_out.