Updated database connection with MRI ruby