class
Rails::InvalidCredentialError
- Rails::InvalidCredentialError
- Exception
- Reference
- Object
Overview
Raised when a credentials value that has to be a string is something else.
Almost always an unquoted secret made only of digits, which YAML reads as a number. Rails raises on that too rather than carrying on with a key it cannot use.