How do I get the referer from eruby?


(Francis Hwang) #1

Hi everyone,

How do I get the HTTP_REFERER in eruby? I haven’t been able to find
this documented anywhere, online or in my pickaxe book.

Thanks,

Francis


(Ned Konz) #2

Isn’t it passed in the environment as usual?

i.e.
ENV[‘HTTP_REFERER’]

···

On Thursday 06 June 2002 03:54 pm, Francis Hwang wrote:

Hi everyone,

How do I get the HTTP_REFERER in eruby? I haven’t been able to find
this documented anywhere, online or in my pickaxe book.


Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE