method

deprecate_in_favor_of_credentials_and_exit

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

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

deprecate_in_favor_of_credentials_and_exit()
private

No documentation available.

# File railties/lib/rails/commands/secrets/secrets_command.rb, line 57
        def deprecate_in_favor_of_credentials_and_exit
          say "Encrypted secrets is deprecated in favor of credentials. Run:"
          say "rails credentials:help"

          exit 1
        end