gem install bundler # install bundler for bundle command
rails s # run rails server
rails c # run rails console - access to database tables
bundle # install gems dependencies
rake db:setup # run db:create, db:schema:load, db:seed
rake db:create # create database
rake db:drop # remove databse
rake db:seed # loads sample data to database
rake db:migrate # run missing database changes
rake routes # show rails endpoints
Created
September 15, 2015 13:50
-
-
Save jcieslar/14b7a27a4b05b24b43dd to your computer and use it in GitHub Desktop.
Rails cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment