#Rails coding cheatsheet
rails new myapp
rails g scaffold Object attribute:datatype
rails g scaffold Book title:string author:string summary:text
rails g controller controller_name action
rails g controller home index
rails g model Object attribute:datatype
rails g migration AddAttributeToObject attribute:datatype
rails s
Ctrl + C
rake stats
rake db:migrate
rake db:seed
rake db:rollback
rake routes
git init
git add --all
git commit -am 'message'
git status
git remote -v
git push origin master
git checkout -b newbranch
heroku create appname
heroku run rake db:migrate
heroku logs