mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #33234 from alpaca-tc/autoload_activejob_arguments"
It breaks Active Job when run in isolation. E.g. bin/test test/cases/logging_test.rb: https://travis-ci.org/rails/rails/jobs/398779028 Consider Rafaels suggestion of reviewing the eager loading instead: https://github.com/rails/rails/pull/33234#issuecomment-401027419 This reverts commitcb0fdaacb2
, reversing changes made toa0a1abb3c7
.
This commit is contained in:
parent
969577d960
commit
dca5596f99
3 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,6 @@ require "global_id"
|
||||||
module ActiveJob
|
module ActiveJob
|
||||||
extend ActiveSupport::Autoload
|
extend ActiveSupport::Autoload
|
||||||
|
|
||||||
autoload :Arguments
|
|
||||||
autoload :Base
|
autoload :Base
|
||||||
autoload :QueueAdapters
|
autoload :QueueAdapters
|
||||||
autoload :Serializers
|
autoload :Serializers
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "active_job/arguments"
|
||||||
|
|
||||||
module ActiveJob
|
module ActiveJob
|
||||||
# Provides behavior for enqueuing jobs.
|
# Provides behavior for enqueuing jobs.
|
||||||
module Enqueuing
|
module Enqueuing
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "active_support/rescuable"
|
require "active_support/rescuable"
|
||||||
|
require "active_job/arguments"
|
||||||
|
|
||||||
module ActiveJob
|
module ActiveJob
|
||||||
module Execution
|
module Execution
|
||||||
|
|
Loading…
Reference in a new issue