method

missing_credentials!

rails latest stable - Class: Rails::Command::CredentialsCommand

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

missing_credentials!()
private

No documentation available.

# File railties/lib/rails/commands/credentials/credentials_command.rb, line 137
        def missing_credentials!
          if !credentials.key?
            say_error "Missing '#{key_path}' to decrypt credentials. See `#{executable(:help)}`."
          else
            say_error "File '#{content_path}' does not exist. Use `#{executable(:edit)}` to change that."
          end
          exit 1
        end