From 80f46653e2353a40a7175cbd6030dcf60916d6cd Mon Sep 17 00:00:00 2001 From: Manoj M J Date: Wed, 20 Sep 2017 13:08:00 +0530 Subject: Fix error message documentation --- guides/source/security.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides') diff --git a/guides/source/security.md b/guides/source/security.md index 2ac52155f8..b19a04452a 100644 --- a/guides/source/security.md +++ b/guides/source/security.md @@ -1049,7 +1049,7 @@ If you want an exception to be raised when some key is blank, use the bang version: ```ruby -Rails.application.credentials.some_api_key! # => raises KeyError: key not found: :some_api_key +Rails.application.credentials.some_api_key! # => raises KeyError: :some_api_key is blank ``` Additional Resources -- cgit v1.2.3