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 :-) -- John Kopanas john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On Sep 7, 2006, at 3:17 PM, John Kopanas wrote:> 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.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. James. -- James Stewart : Freelance Web Developer Work : http://jystewart.net Play : http://james.anthropiccollective.org --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
ah yes request... I totally forgot about that sexy object :-). Thanks :-) On 9/7/06, James Stewart <jystewart-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Sep 7, 2006, at 3:17 PM, John Kopanas wrote: > 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. > > 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. > > James. > > > -- > James Stewart : Freelance Web Developer > Work : http://jystewart.net > Play : http://james.anthropiccollective.org > > > > >-- John Kopanas john-Iau1QiYlxLpBDgjK7y7TUQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---