class method self.new

Ruby on Rails edge

Since edge

Signature

self.new(*arguments)

No documentation comment.

Parameters

arguments rest
Source
# File activestorage/app/jobs/active_storage/preview_image_job.rb, line 9
  def initialize(*arguments)
    ActiveStorage.deprecator.warn(<<~MSG.squish)
      ActiveStorage::PreviewImageJob is no longer used by Rails.
      It is deprecated and will be removed in Rails 9.0.
      Use the ActiveStorage::CreateVariantsJob instead.
    MSG
    super
  end

Defined in activestorage/app/jobs/active_storage/preview_image_job.rb line 9 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveStorage::PreviewImageJob

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close