title: Cant access localhost on ruby on rails
body: <p>When I run the server and go to <code>localhost:3000</code> I get this error:</p>
  
  <blockquote>
    <p>ActiveRecord::ConnectionNotEstablished No connection pool with id
    primary found.</p>
  </blockquote>
  
  <p>The code in question:</p>
  
  <pre><code>activerecord (5.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:874
  :in `retrieve_connection'
  </code></pre>