Forum: Ruby on Rails about request

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Joe B. (Guest)
on 2005-11-21 22:29
how to use request object in rails
e.g.  i want get "User-Agent"

regards
jerrett (Guest)
on 2005-11-21 22:38
(Received via mailing list)
request.env["HTTP_USER_AGENT"]
Joe B. (Guest)
on 2005-11-21 22:59
jerrett wrote:
> request.env["HTTP_USER_AGENT"]

thanks! jerrett
This topic is locked and can not be replied to.