method

warn_if_encrypted_configuration_is_invalid

rails 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 67
        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