title: Rails Tutorial sample_app fails in Heroku with log: ActionController::RoutingError (No route matches [GET] "/about"):
body: <p>I am following the online version of Rails Tutorial. The Sample_app in chapter 3 works fine locally, but when pushed to Heroku, the home page is found but not the other pages. Running heroku logs after trying to see the About page gives me (along with much else) the error above:</p>
  
  <p><code>2015-08-09T02:56:43.916991+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/about"):</code></p>
  
  <p>My routes.rb file is</p>
  
  <pre><code>Rails.application.routes.draw do
    root 'static_pages#home'
    get 'static_pages/help'
    get 'static_pages/about'
  end
  </code></pre>
  
  <p>I have followed the directions carefully. I tried deleting and recreating the Heroku file. I did web searches and tried some things to no avail. My gemfile is straight from the online version of the book, which is using current versions.</p>
  
  <hr>
  
  <p><strong>Solved:</strong> #thedanotto had me run <code>heroku run rake routes</code> which showed that the help and about pages were directed to {root}/static_pages/about rather than {root}/about. I am still puzzled why the tutorial gives the about routes, which appear not to work as expected, and welcome any further comment, but I am marking this as solved.</p>