HTTP Header Information

For the life of me I can't figure out where the HTTP variables are stores in the RoR framework. Does anyone know? I am looking more specificaly for HTTP_REFERER but I would also like to know in general about the rest.

Thanks :slight_smile:

The referrer is in: request.env[‘HTTP_REFERER’]

To explore the rest, try putting

<%= request.inspect %>

in one of your views and look through the output.


ah yes request... I totally forgot about that sexy object :-). Thanks :slight_smile: