rails cells

$rails the_cell
$cd the_cell
the_cell$ sqlite3 -batch db/development.sqlite3 --
the_cell$ script/generate scaffold Project name:string
the_cell$ script/generate scaffold User name:string project_id:integer
the_cell$ script/generate scaffold Ticket name:string project_id:integer user_id:integer
the_cell$ rake db:migrate
the_cell$ script/runner "Project.create(:name => 'project1')"
the_cell$ script/runner "Project.create(:name => 'project2')"
the_cell$ script/runner "User.create(:name => 'user1',:project_id => 1)"
the_cell$ ruby script/runner "Ticket.create(:name => 'ticket1',:project_id => 1,:user_id => 1)"
the_cell$ ruby script/runner "Ticket.create(:name => 'ticket2',:project_id => 2,:user_id => 1)"
the_cell$ ruby script/server
the_cell$ script/plugin install git://github.com/apotonick/cells.git
the_cell$ script/generate cell Project index
the_cell$ cp app/cells/project/index.html.erb app/cells/project/index.html.erb.org
mv app/views/projects/* app/cells/project