diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-09-05 09:13:24 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-09-05 09:21:10 +0900 |
commit | 0b2197774ccca2a15b01212053143114ee058038 (patch) | |
tree | 80ea0c30741ab76907ab840232fe16aa79e3c504 /activerecord/lib/active_record/associations/association.rb | |
parent | 55c5dffd9f2220507ff1a7635c00a81577a8a391 (diff) | |
download | rails-0b2197774ccca2a15b01212053143114ee058038.tar.gz rails-0b2197774ccca2a15b01212053143114ee058038.tar.bz2 rails-0b2197774ccca2a15b01212053143114ee058038.zip |
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.
Diffstat (limited to 'activerecord/lib/active_record/associations/association.rb')
0 files changed, 0 insertions, 0 deletions