instance method
validate_arg_string
Ruby on Rails 5.2.8.1
Since v5.2.8.1 Last seen in v5.2.8.1 PrivateSignature
validate_arg_string(argument)
No documentation comment.
Parameters
-
argumentreq
Source
# File activestorage/app/models/active_storage/variation.rb, line 116
def validate_arg_string(argument)
if ActiveStorage.unsupported_image_processing_arguments.any? { |bad_arg| argument.to_s.downcase.include?(bad_arg) }; raise UnsupportedImageProcessingArgument end
end
Defined in activestorage/app/models/active_storage/variation.rb line 116
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Variation