mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
0b2197774c
`subclasses` get only child classes. Therefore, if create a job common parent class as `ApplicationJob`, inherited class does not get properly.
5 lines
107 B
Ruby
5 lines
107 B
Ruby
require_relative "application_job"
|
|
|
|
class InheritedJob < ApplicationJob
|
|
self.queue_adapter = :inline
|
|
end
|