1
0
Fork 0
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 commit cb0fdaacb2, reversing
changes made to a0a1abb3c7.
This commit is contained in:
Kasper Timm Hansen 2018-07-01 13:22:44 +02:00
parent 969577d960
commit dca5596f99
No known key found for this signature in database
GPG key ID: 191153215EDA53D8
3 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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

View file

@ -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