diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-02-17 00:45:17 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-02-17 17:48:10 +0200 |
commit | 67391879f606e4ad9ef64210a23431e071b3df8c (patch) | |
tree | d243d580d54c9d8d0857d97b5e03915509914922 /activejob/lib | |
parent | 30528cda9e30e42915f3a0fa204d822ce013c168 (diff) | |
download | rails-67391879f606e4ad9ef64210a23431e071b3df8c.tar.gz rails-67391879f606e4ad9ef64210a23431e071b3df8c.tar.bz2 rails-67391879f606e4ad9ef64210a23431e071b3df8c.zip |
Fix error message about unknown `ActiveJob` argument serializer
Diffstat (limited to 'activejob/lib')
-rw-r--r-- | activejob/lib/active_job/serializers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/active_job/serializers.rb b/activejob/lib/active_job/serializers.rb index ec223440e3..df66e66659 100644 --- a/activejob/lib/active_job/serializers.rb +++ b/activejob/lib/active_job/serializers.rb @@ -38,7 +38,7 @@ module ActiveJob raise ArgumentError, "Serializer name is not present in the argument: #{argument.inspect}" unless serializer_name serializer = serializer_name.safe_constantize - raise ArgumentError, "Serializer #{serializer_name} is not know" unless serializer + raise ArgumentError, "Serializer #{serializer_name} is not known" unless serializer serializer.deserialize(argument) end |