method

validate_global_service_configuration

rails latest stable - Class: ActiveStorage::Blob

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

validate_global_service_configuration()
public

No documentation available.

# File activestorage/app/models/active_storage/blob.rb, line 165
    def validate_global_service_configuration # :nodoc:
      if connected? && table_exists? && Rails.configuration.active_storage.service.nil?
        raise RuntimeError, "Missing Active Storage service name. Specify Active Storage service name for config.active_storage.service in config/environments/#{Rails.env}.rb"
      end
    end