class Rails::Command::EncryptedCommand
def change_encrypted_file_in_system_editor(file_path, key_path)
def change_encrypted_file_in_system_editor(file_path, key_path) Rails.application.encrypted(file_path, key_path: key_path).change do |tmp_path| system("#{ENV["EDITOR"]} #{tmp_path}") end end