Skip to content

Instantly share code, notes, and snippets.

@charliegerard
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save charliegerard/9653893 to your computer and use it in GitHub Desktop.

Select an option

Save charliegerard/9653893 to your computer and use it in GitHub Desktop.

#Day19

###Steps to create Rails app

  • rails new
  • Update Gemfile and run bundle
  • update database yml
  • rake db:create
  • rails g migration create (table)
  • rails edit migration
  • rake db:migrate
  • create models/*.rb
  • run annotate
  • add relationships
  • test with rails console
  • edit seeds
  • rake db:seeds

####Front-end:

  • Edit routes
  • Do controllers to match up with the routes
  • test and iterate

To remove files from the controller: rm app/views/*/create.html.erb

Steps from Kriss to create Rails app

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