instance method filename

Ruby on Rails 8.0.4

Since v7.0.10

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close