Ruby on Rails Sunday, January 22, 2012

I'll try to rephrase:

I'm trying to forward a cookie from the user-end to the API that
receives the request from ActiveResource::Base.find

What I want to be able to do in my Controller is this:

User.find(1, :headers => { :cookies => session['user'] }

And have this send the cookie from the user browsing my site, to the API
that is specified in self.site.

I'm sorry for ambiguity earlier. Hopefully it is clearer now :-)

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment