Rails Views Cheat Sheet

Rails Views files are written in .erb (Embedded Ruby); they embed Ruby evaluations in your HTML. Index.html would now be index.html.erb

The erb tag

<% %>

Initialize Git

<$ git config --global user.name "Your Name"
$ git config --global user.email "you@youraddress.com"
$ git config --global push.default matching
$ git config --global alias.co checkout
$ git init>

Push Your Code to Heroku

heroku --version login to Heroku
# Push your code
git push heroku master