Skip to content

Instantly share code, notes, and snippets.

@jendiamond
Last active December 11, 2015 20:27
Show Gist options
  • Select an option

  • Save jendiamond/656a96d97957aec31d90 to your computer and use it in GitHub Desktop.

Select an option

Save jendiamond/656a96d97957aec31d90 to your computer and use it in GitHub Desktop.

create a github repository create a heroku repository

rails new ressie git init and commit and push

rails g scaffold resolution ressie:string rake db:migrate git add, commit and push to github

make the resolutions#index page be root git add, commit and push to github

move the destroy link to the resolutions#show page, delete the edit and destroy links git add, commit and push to github

on theresolutions#index page, link the resolution to the show page and delete the show link git add, commit and push to github

create a navbar partial with the h1 tag Ressies which will link to the home page git add, commit and push to github

change the Gemfile for postgres bundle git add, commit and push to github and heroku heroku run rake db:migrate

rails g scaffold resolve date:date choice:boolean resolution:references rake db:migrate git add, commit and push to github

on theresolutions#index page, link the resolution to the resolve#show page git add, commit and push to github

move the resolution edit and destroy links to the resolve#show page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment