changed database.yml setting in production mode to active record