method

add_credentials_file_silently

rails latest stable - Class: Rails::Generators::CredentialsGenerator

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.

add_credentials_file_silently(template = nil)
public

No documentation available.

# File railties/lib/rails/generators/rails/credentials/credentials_generator.rb, line 28
      def add_credentials_file_silently(template = nil)
        unless credentials.content_path.exist?
          credentials.write(credentials_template)
        end
      end