method
missing_encrypted_message
v5.2.3 -
Show latest stable
- Class:
Rails::Command::EncryptedCommand
missing_encrypted_message(key:, key_path:, file_path:)private
No documentation available.
# File railties/lib/rails/commands/encrypted/encrypted_command.rb, line 78
def missing_encrypted_message(key,, key_path,, file_path))
if key.nil?
"Missing '#{key_path}' to decrypt data. See bin/rails encrypted:help"
else
"File '#{file_path}' does not exist. Use bin/rails encrypted:edit #{file_path} to change that."
end
end