Merge pull request #49196 from p8/activestorage/remove-unused-methods

Remove unused methods on ActiveStorage::Variant
This commit is contained in:
Ryuta Kamizono 2023-09-08 17:31:01 +09:00 committed by GitHub
commit 9b00c65aeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,12 +91,6 @@ def filename
ActiveStorage::Filename.new "#{blob.filename.base}.#{variation.format.downcase}"
end
alias_method :content_type_for_serving, :content_type
def forced_disposition_for_serving # :nodoc:
nil
end
# Returns the receiving variant. Allows ActiveStorage::Variant and ActiveStorage::Preview instances to be used interchangeably.
def image
self