method

ensure_encryption_key_has_been_added

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: EncryptedCommand
ensure_encryption_key_has_been_added() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/encrypted/encrypted_command.rb, line 45
        def ensure_encryption_key_has_been_added
          return if encrypted_configuration.key?
          encryption_key_file_generator.add_key_file(key_path)
          encryption_key_file_generator.ignore_key_file(key_path)
        end
Register or log in to add new notes.