###Comparison of route breakdown between Sinatra and Rails: ###
in Sinatra routes were written like this:
    get '/' do
      #some Ruby code
      erb :index
    end
This is taken apart in Rails. The first line now resides in config/routes.rb and is decoupled from the Ruby code (now in controllers) and the view.