My setup: Rails 3.0.9, Ruby 1.9.2
My app needs to serve up a mobile vs. web layout depending on the request\'s origin. I need to support all the major mobile client
It will return User Agent.
request.user_agent =~ /Mobile|Blackberry|Android/ # OR WHATEVER