Configuring the database connection with rails 4