aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-02-17 00:45:17 +0200
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-02-17 17:48:10 +0200
commit67391879f606e4ad9ef64210a23431e071b3df8c (patch)
treed243d580d54c9d8d0857d97b5e03915509914922 /activejob/lib
parent30528cda9e30e42915f3a0fa204d822ce013c168 (diff)
downloadrails-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.rb2
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