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.
E13ba8e702211be152c640df2d8e141f?d=identicon&s=25 Joe Black (joe-black)
on 2005-11-21 21:29
how to use request object in rails
e.g.  i want get "User-Agent"

regards
A78fabe22aa7df17f05cb02e622e20a7?d=identicon&s=25 jerrett (Guest)
on 2005-11-21 21:38
(Received via mailing list)
request.env["HTTP_USER_AGENT"]
E13ba8e702211be152c640df2d8e141f?d=identicon&s=25 Joe Black (joe-black)
on 2005-11-21 21:59
jerrett wrote:
> request.env["HTTP_USER_AGENT"]

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