method

warn_if_credentials_are_invalid

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: CredentialsCommand
warn_if_credentials_are_invalid() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/credentials/credentials_command.rb, line 129
        def warn_if_credentials_are_invalid
          credentials.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
Register or log in to add new notes.