hi, guys I was wondering what sort of methods there are to get request information in rails? In Perl, when using mason, we can use $m->request() or something similar. How about rails? thanks -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe you''re looking for ''request.env'' ? 2009/12/10 ct9a <anexiole-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> hi, guys > > I was wondering what sort of methods there are to get request > information in rails? > > In Perl, when using mason, we can use $m->request() or something > similar. How about rails? thanks > > -- > > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
See in the API (and the examples also) - http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html - http://api.rubyonrails.org/classes/ActionController/Base.html Hope this helps. Chris -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Dec 10, 11:55 am, Christoph Jasinski <christoph.jasin...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> See in the API (and the examples also) > -http://api.rubyonrails.org/classes/ActionController/AbstractRequest.htmlAbstractRequest is dead - don''t know why that file is still there http://api.rubyonrails.org/classes/ActionController/Request.html is the current stuff Fred> -http://api.rubyonrails.org/classes/ActionController/Base.html > > Hope this helps. > > Chris-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Dec 10, 2009 at 3:56 PM, Frederick Cheung < frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Dec 10, 11:55 am, Christoph Jasinski > <christoph.jasin...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote: > > See in the API (and the examples also) > > - > http://api.rubyonrails.org/classes/ActionController/AbstractRequest.html > > AbstractRequest is dead - don''t know why that file is still there > > http://api.rubyonrails.org/classes/ActionController/Request.html > > is the current stuff > > Fred > > > > -http://api.rubyonrails.org/classes/ActionController/Base.html > > > > Hope this helps. > > > > Chris > > -- > > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.