class ActiveRecord::DatabaseConfigurations::HashConfig

def _database=(database) # :nodoc:

:nodoc:
def _database=(database) # :nodoc:
  @configuration_hash = configuration_hash.merge(database: database).freeze
end