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
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
Maybe you're looking for 'request.env' ?
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
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
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@googlegroups.com.
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.