From 7b76f05cd169e3cfcf1dee4abb64d7ec79197d28 Mon Sep 17 00:00:00 2001 From: joker1007 Date: Sun, 21 Dec 2014 20:57:46 +0900 Subject: Add 'require' for Hash#with_indifferent_access ActiveJob::Arguments uses Hash#with_indifferent_access. But, activejob gem does not require Hash extension library. When we use activejob as standalone, we need extra require statement. This is unhandy. This commit fixes it. --- activejob/lib/active_job/arguments.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'activejob/lib/active_job') diff --git a/activejob/lib/active_job/arguments.rb b/activejob/lib/active_job/arguments.rb index e2c076eb3f..752be6898e 100644 --- a/activejob/lib/active_job/arguments.rb +++ b/activejob/lib/active_job/arguments.rb @@ -1,3 +1,5 @@ +require 'active_support/core_ext/hash/indifferent_access' + module ActiveJob # Raised when an exception is raised during job arguments deserialization. # -- cgit v1.2.3