method
ensure_encryption_key_has_been_added
v6.0.0 -
Show latest stable
- Class:
Rails::Command::EncryptedCommand
ensure_encryption_key_has_been_added(key_path)private
No documentation available.
# File railties/lib/rails/commands/encrypted/encrypted_command.rb, line 48
def ensure_encryption_key_has_been_added(key_path)
encryption_key_file_generator.add_key_file(key_path)
encryption_key_file_generator.ignore_key_file(key_path)
end