1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test/jobs/inherited_job.rb
yuuji.yaginuma 0b2197774c use descendants to get class that inherited ActiveJob::Base
`subclasses` get only child classes.
Therefore, if create a job common parent class as `ApplicationJob`,
inherited class does not get properly.
2016-09-05 09:21:10 +09:00

5 lines
107 B
Ruby

require_relative "application_job"
class InheritedJob < ApplicationJob
self.queue_adapter = :inline
end