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