method
missing_encrypted_message
v6.0.0 -
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 `rails encrypted:help`"
else
"File '#{file_path}' does not exist. Use `rails encrypted:edit #{file_path}` to change that."
end
end