Mobylette: Mobile Requests Handling (GEM)
In the last few days have been working on this gem.
It’s named Mobylette and it works by identifying mobile requests in your app, and handling them with a new .mobile
format.
Once you have it installed on your application,
adding respond_to_mobile_requests
to your controller will enable it to deal with mobile requests.
It will automatically look for a .mobile.erb (.haml, or whatever) when a request comes from a mobile device. Also you can call the mobile type from a respond_to
block: