1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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.
This commit is contained in:
joker1007 2014-12-21 20:57:46 +09:00
parent 651bba1bfe
commit 7b76f05cd1

View file

@ -1,3 +1,5 @@
require 'active_support/core_ext/hash/indifferent_access'
module ActiveJob
# Raised when an exception is raised during job arguments deserialization.
#