defaults: &defaults adapter: mysql2 host: <%= ENV['DATABASE_HOST'] %> username: <%= ENV['DATABASE_USER'] %> password: <%= ENV['DATABASE_PASSWORD'] %> database: <%= ENV['DATABASE_NAME'] %> production: <<: *defaults development: <<: *defaults test: <<: *defaults staging: <<: *defaults