Detecting a Mobile Browser on the Server in your Rails app
the following code was extracted from my Mobile Ruby on Rails Web App Demo, which was intended as a very simple Mobile Ruby on Rails Web Application (Web App) which uses Ruby 1.9.2, Ruby on Rails 3.0.7 and jQuery Mobile Continue reading Detecting a Mobile Browser on the Server in your Rails app