aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/active_job/arguments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/active_job/arguments.rb b/lib/active_job/arguments.rb
index ba314ccf14..ef6a3fce1d 100644
--- a/lib/active_job/arguments.rb
+++ b/lib/active_job/arguments.rb
@@ -17,7 +17,7 @@ module ActiveJob
def self.serialize_argument(argument)
case argument
when ActiveModel::GlobalIdentification
- argument.global_id
+ argument.global_id.to_s
when *TYPE_WHITELIST
argument
when Array