Flowdock
method

validate_service_configuration

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Model
validate_service_configuration(association_name, service) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/lib/active_storage/attached/model.rb, line 185
        def validate_service_configuration(association_name, service)
          if service.present?
            ActiveStorage::Blob.services.fetch(service) do
              raise ArgumentError, "Cannot configure service :#{service} for #{name}##{association_name}"
            end
          end
        end
Register or log in to add new notes.