rails plugin new my_engine --mountable
fill in gemspec
rails g scaffold users name
use my_engine
rake my_engine:install:migrations
mount my_engine
use jquery-rails gem on my_engine