Peter De Berdt wrote:

> What do you mean? The environment is passed in with the required call
> method from the rack middleware.

I don't know. I just want to get a cookie value in a script in a file in 
railsapp/lib. I thought this would do it:

req = Rack::Request.new(env)
req.cookies()

But I get "undefined local variable or method `env'"
-- 
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