method

validate_arg_string

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ImageProcessingTransformer
validate_arg_string(argument) private

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/transformers/image_processing_transformer.rb, line 71
        def validate_arg_string(argument)
          unsupported_arguments = ActiveStorage.unsupported_image_processing_arguments.any? do |bad_arg|
            argument.to_s.downcase.include?(bad_arg)
          end

          raise UnsupportedImageProcessingArgument if unsupported_arguments
        end
Register or log in to add new notes.