method

disenroll_project_from_credentials_diffing

rails latest stable - Class: Rails::Command::CredentialsCommand::Diffing
disenroll_project_from_credentials_diffing()
public

No documentation available.

# File railties/lib/rails/commands/credentials/credentials_command/diffing.rb, line 21
  def disenroll_project_from_credentials_diffing
    if enrolled_in_credentials_diffing?
      gitattributes.write(gitattributes.read.gsub(GITATTRIBUTES_ENTRY, ""))
      gitattributes.delete if gitattributes.empty?

      say "Disenrolled project from credentials file diffing!"
    else
      say "Project is not enrolled in credentials file diffing."
    end
  end