instance method
filename
Ruby on Rails 7.1.6
Since v7.0.10Signature
filename()
No documentation comment.
Source
# File activestorage/app/models/active_storage/variant_with_record.rb, line 27
def filename
ActiveStorage::Filename.new "#{blob.filename.base}.#{variation.format.downcase}"
end
Defined in activestorage/app/models/active_storage/variant_with_record.rb line 27
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::VariantWithRecord