module Shrine::Plugins::Derivatives::FileMethods
Public Instance Methods
Source
# File lib/shrine/plugins/derivatives.rb 625 def [](*keys) 626 if keys.any? { |key| key.is_a?(Symbol) } 627 fail Error, "Shrine::UploadedFile#[] doesn't accept symbol metadata names. Did you happen to call `record.attachment[:derivative_name]` when you meant to call `record.attachment(:derivative_name)`?" 628 else 629 super 630 end 631 end
Calls superclass method