Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (12 sloc) 531 Bytes
rails g backbone:install
rails g scaffold Post title:string content:string
rake db:migrate
rails g backbone:scaffold Post title:string content:string
rails g scaffold Comment content:string
rails g backbone:scaffold Comment content:string
rails g migration AddPostIdToComments post_id:integer
edit models and add associations
cp ~/Downloads/PaulUithol-Backbone-relational-337a97b/backbone-relational.js vendor/assets/javascripts/.
edit backbone model and add relation
check rails-backbone version
heroku rake db:schema:load