Forum: Ruby on Rails about request

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and 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"

jerrett (Guest)
on 2005-11-21 22:38
(Received via mailing list)
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.