method
ensure_encryption_key_has_been_added
v8.1.1 -
Show latest stable
- Class:
Rails::Command::EncryptedCommand
ensure_encryption_key_has_been_added()private
No documentation available.
# 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)
end