method
warn_if_encrypted_configuration_is_invalid
v8.1.1 -
Show latest stable
- Class:
Rails::Command::EncryptedCommand
warn_if_encrypted_configuration_is_invalid()private
No documentation available.
# File railties/lib/rails/commands/encrypted/encrypted_command.rb, line 66
def warn_if_encrypted_configuration_is_invalid
encrypted_configuration.validate!
rescue ActiveSupport::EncryptedConfiguration::InvalidContentError => error
say "WARNING: #{error.message}", :red
say ""
say "Your application will not be able to load '#{content_path}' until the error has been fixed.", :red
end