title: Ruby on Rails database is not configured
body: <p>We have 2 Ruby on Rails websites. Live and Beta. Recently we made a database move, so I was asked to try and update the database connections for the websites. I did that using the <code>database.yml</code> files for both.</p>
  
  <p>Afterwards, the Live website works as expected, but the Beta throws up an error: </p>
  
  <pre><code> 'staging' database is not configured. Available: ["defaults", "production", "writeable"] (ActiveRecord::AdapterNotSpecified)
  </code></pre>
  
  <p>My <code>database.yml</code> file:</p>
  
  <pre><code>defaults: &amp;defaults
    adapter: mysql2
    host: eu-west-1.rds.amazonaws.com
    pool: 10
    reconnect: true
    encoding: utf8
    database: Project_database
  
  production:
    &lt;&lt;: *defaults
    username: Username
    password: Password
    port: 3306
  
  writeable:
    &lt;&lt;: *defaults
    username: Username
    password: Passowrd
    port: 3306
  </code></pre>
  
  <p>How do I solve this, without effecting the Live website? </p>
  
  <p>Ruby 2.3.0
  Gems 4.2.6</p>