Read User Agent

Does anyone know how to read the user agent from a controller ?

Thanks

Use @request.env[‘HTTP_USER_AGENT’]

Alex A. wrote:

Does anyone know how to read the user agent from a controller ?

Thanks


Sau S.

http://blog.saush.com
http://read.saush.com
http://jaccal.sourceforge.net