Mobile request handling for Ruby on Rails