class ActiveRecord::DatabaseConfigurations::HashConfig

def database_tasks? # :nodoc:

:nodoc:
def database_tasks? # :nodoc:
  !replica? && !!configuration_hash.fetch(:database_tasks, true)
end