aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/execution.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2018-07-01 13:22:44 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2018-07-01 13:22:44 +0200
commitdca5596f997b863a2de6a0fe1ed2c26a9f027359 (patch)
treee40f686688723b9970ce40b32d5d7fb348558404 /activejob/lib/active_job/execution.rb
parent969577d960cd7e2d0a421af4a987f56894c3b229 (diff)
downloadrails-dca5596f997b863a2de6a0fe1ed2c26a9f027359.tar.gz
rails-dca5596f997b863a2de6a0fe1ed2c26a9f027359.tar.bz2
rails-dca5596f997b863a2de6a0fe1ed2c26a9f027359.zip
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 cb0fdaacb277bd0595bfd73178329922aa24477e, reversing changes made to a0a1abb3c7942084111d87ae95837a83bcc794f6.
Diffstat (limited to 'activejob/lib/active_job/execution.rb')
-rw-r--r--activejob/lib/active_job/execution.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activejob/lib/active_job/execution.rb b/activejob/lib/active_job/execution.rb
index 8833e798d2..d75be376ec 100644
--- a/activejob/lib/active_job/execution.rb
+++ b/activejob/lib/active_job/execution.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require "active_support/rescuable"
+require "active_job/arguments"
module ActiveJob
module Execution