87828 threads
2008 threads
2 emails from 2 people
Does anyone know how to read the user agent from a controller ? Thanks -- Posted via http://www.ruby-forum.com/.
Use @request.env[''HTTP_USER_AGENT''] Alex Amat wrote:> Does anyone know how to read the user agent from a controller ? > > Thanks > > -- Sau Sheong http://blog.saush.com http://read.saush.com http://jaccal.sourceforge.net
> Does anyone know how to read the user agent from a controller ? > > Thanks > >