# How To: Browser version, OS Version?

**URL:** <https://www.ruby-forum.com/t/how-to-browser-version-os-version/91239>\
**Category:** Rails\
**Created:** [April 5, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/how-to-browser-version-os-version/91239 "2007-04-05T22:11:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lennard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@Lennard](https://www.ruby-forum.com/u/Lennard)\
**Post date:** [April 5, 2007, 10:11pm UTC](https://www.ruby-forum.com/t/how-to-browser-version-os-version/91239/1 "2007-04-05T22:11:11Z")

</div>

Hi all,

What should do the trick If I want to find out what the clients Browser  
Version en OS Version is? Is there a special kind of method for this?  
(just like finding out what the ip of the client is with the following  
method @request.remote\_ip)

Thanks !!

---

<div class="post-metadata">

**Author:** ![Lennard](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/dfb087/32.png) [@Lennard](https://www.ruby-forum.com/u/Lennard)\
**Post date:** [April 6, 2007, 7:16am UTC](https://www.ruby-forum.com/t/how-to-browser-version-os-version/91239/2 "2007-04-06T07:16:25Z")

</div>

Lennard wrote:

> Hi all,
> 
> What should do the trick If I want to find out what the clients Browser  
> Version en OS Version is? Is there a special kind of method for this?  
> (just like finding out what the ip of the client is with the following  
> method @request.remote\_ip)
> 
> Thanks !!

request.env[‘HTTP\_USER\_AGENT’]

–  
Michael W.
