how to use request object in rails
e.g. i want get “User-Agent”
regards
how to use request object in rails
e.g. i want get “User-Agent”
regards
request.env[“HTTP_USER_AGENT”]
jerrett wrote:
request.env[“HTTP_USER_AGENT”]
thanks! jerrett
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs