Jquery Mobile for Rails
This gem adds the JQuery Mobile files to the rails assets pipeline.
Gem's JQuery Mobile Version
1.0 rc 1
Add this gem to your Gemfile:
Insert into your application.js manifest the jquery.mobile (or jquery.mobile.min)
//= require jquery //= require jquery_ujs //= require jquery.mobile
And the same to your application.css manifest:
*= require_self *= require_tree . *= require jquery.mobile
I built this gem for using with the Mobylette gem, but it will work with your stand alone application, or with any other gem that filters your mobile requests.
For layouting using JQuery Mobile, and using all its features, I suggest your give a look at their documentation: jquerymobile.com/test/
Inside the test/dummy there is a simple application using a very basic jquery mobile templating.