rails generate the resource share
place the shares resource in the api namespace
rake db:migrate
add has_many shares to User model
add belongs_to user in Share
rails generate welcome controller
add in the index and dashboard actions to the WelcomeController
add dashboard route
Merge branch 'chapter1.2-sharing-model' into chapter1-setting-up-our-rails-app