method
validate_transformation
v8.1.1 -
Show latest stable
- Class:
ActiveStorage::Transformers::ImageProcessingTransformer
validate_transformation(name, argument)private
No documentation available.
# File activestorage/lib/active_storage/transformers/image_processing_transformer.rb, line 38
def validate_transformation(name, argument)
if name.to_s == "combine_options"
raise ArgumentError, <<~ERROR.squish
Active Storage's ImageProcessing transformer doesn't support :combine_options,
as it always generates a single command.
ERROR
end
end