Peter De Berdt wrote:
> On 09 Jul 2010, at 14:44, Pål Bergström wrote:

> Well, to get started with middlewares, it's a good thing to read up on
> how Rails is using it:
> http://guides.rails.info/rails_on_rack.html


Too much to get into now. And you script (thank you very much for you 
effort :-) ) is much more than what I've used before with cgi.

require 'cgi'
cgi = CGI.new
test = cgi.cookies["mycookie"][0]

So, getting the value from a cookie into a model is that hard?
-- 
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-t...@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.

Reply via email to