instance method download_chunk

Ruby on Rails 7.1.6

Since v7.0.10

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

Signature

download_chunk(range)

Downloads a part of the file associated with this blob.

Parameters

range req
Source
# File activestorage/app/models/active_storage/blob.rb, line 272
  def download_chunk(range)
    service.download_chunk key, range
  end

Defined in activestorage/app/models/active_storage/blob.rb line 272 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::Blob

Type at least 2 characters to search.

↑↓ navigate · open · esc close