title: Heroku deployment - dead pages "We're sorry, but something went wrong."
body: <p>Pretty new to rails/heroku.  I created a clean project to help figure out what in the world is happening with heroku.  Then I add to it with a:</p>
  
  <pre><code>rails generate controller Pages home contact
  </code></pre>
  
  <p><a href="http://localhost:3000/pages/home">http://localhost:3000/pages/home</a> shows exactly what we expect.  Commit, push to git, push to heroku.  Open the page on heroku and it returns the error page: "We're sorry, but something went wrong."</p>
  
  <p>heroku logs don't seem to have anything interesting, and exceptional isn't registering that anything bad is happenin at all.</p>
  
  <p>UPDATE: I've reduced the logs to an example of the offending bits.</p>
  
  <pre><code>2011-10-06T01:06:05+00:00 app[web.1]: Started GET "/pages/home" for 97.87.14.192 at 2011-10-05 18:06
  :05 -0700
  2011-10-06T01:06:05+00:00 app[web.1]:
  2011-10-06T01:06:05+00:00 app[web.1]: ActiveRecord::ConnectionNotEstablished (ActiveRecord::Connecti
  onNotEstablished):
  2011-10-06T01:06:05+00:00 app[web.1]:
  2011-10-06T01:06:05+00:00 app[web.1]:
  2011-10-06T01:06:05+00:00 app[web.1]:
  2011-10-06T01:06:05+00:00 app[web.1]: cache: [GET /pages/home] miss
  </code></pre>
  
  <p>Here's the gemfile I'm running</p>
  
  <pre><code># gemfile
  source 'http://rubygems.org'
  
  gem 'rails', '3.1.0'
  
  group :test do
    gem 'sqlite3-ruby', :require =&gt; 'sqlite3'
    gem 'rspec-rails', '2.6.1'
    gem 'webrat', '0.7.1'
  end
  
  group :development, do
    gem 'sqlite3-ruby', :require =&gt; 'sqlite3'
    gem 'rspec-rails', '2.6.1'
  end
  </code></pre>