diff options
author | Mike Perham <mperham@gmail.com> | 2016-03-09 09:28:16 -0800 |
---|---|---|
committer | Mike Perham <mperham@gmail.com> | 2016-03-09 09:28:16 -0800 |
commit | 8c98186742c5fd3301906c85117f50973989c3dd (patch) | |
tree | 92967363d7508b0e7a2a384e7e7f373af7ee2b8e /activejob/lib | |
parent | 702ef37767da7a32d34d29f8936c056d70e8fc56 (diff) | |
download | rails-8c98186742c5fd3301906c85117f50973989c3dd.tar.gz rails-8c98186742c5fd3301906c85117f50973989c3dd.tar.bz2 rails-8c98186742c5fd3301906c85117f50973989c3dd.zip |
Add JSON round trip verification testcase
Diffstat (limited to 'activejob/lib')
-rw-r--r-- | activejob/lib/active_job/core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/active_job/core.rb b/activejob/lib/active_job/core.rb index 0b32b7263c..f7f882c998 100644 --- a/activejob/lib/active_job/core.rb +++ b/activejob/lib/active_job/core.rb @@ -108,7 +108,7 @@ module ActiveJob self.queue_name = job_data['queue_name'] self.priority = job_data['priority'] self.serialized_arguments = job_data['arguments'] - self.locale = job_data['locale'] || I18n.locale + self.locale = job_data['locale'] || I18n.locale.to_s end private |