title: No database connection in rails console
body: <p>My rails application works fine when I run <code>rake db:migrate</code> but the problem occurs when I try to start the rails console.</p>
  
  <pre><code>2.0.0p247 :003 &gt; User
   =&gt; User(no database connection)
  </code></pre>