configuring database connection using environment variable RAILS_APP_DB