Module: ActiveStorage::Downloading

Defined in:
activestorage/lib/active_storage/downloading.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


8
9
10
11
12
13
# File 'activestorage/lib/active_storage/downloading.rb', line 8

def self.included(klass)
  ActiveSupport::Deprecation.warn <<~MESSAGE.squish, caller_locations(2)
    ActiveStorage::Downloading is deprecated and will be removed in Active Storage 6.1.
    Use ActiveStorage::Blob#open instead.
  MESSAGE
end