Try @request.
// Magnus Holm On Friday 6. April 2012 at 16:27, Nokan Emiro wrote: > I'm sorry bothering you, it was there in env, env['HTTP_REFERER']. > > (But it still would be useful sometimes to access the Rack's Request > object...) > > > > On Fri, Apr 6, 2012 at 3:01 PM, Nokan Emiro <[email protected] > (mailto:[email protected])> wrote: > > Hi, > > > > How can I access the Rack request object in a controller? I need > > to know the HTTP_REFERRER, but I can't find it in env. (I'm > > sure I need glasses, or have to sleep more...) > > > _______________________________________________ > Camping-list mailing list > [email protected] (mailto:[email protected]) > http://rubyforge.org/mailman/listinfo/camping-list _______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

