Detecting browser?

How can I detect browser using Ruby in views?

Vapor … wrote:

How can I detect browser using Ruby in views?

<%= @request.env[“HTTP_USER_AGENT”] %>

for more information :

Good Luck,
Reinhart