Method: ActiveRecord::Encryption::ReadOnlyNullEncryptor#encrypt
- Defined in:
- activerecord/lib/active_record/encryption/read_only_null_encryptor.rb
#encrypt(clean_text, key_provider: nil, cipher_options: {}) ⇒ Object
11 12 13 |
# File 'activerecord/lib/active_record/encryption/read_only_null_encryptor.rb', line 11 def encrypt(clean_text, key_provider: nil, cipher_options: {}) raise Errors::Encryption, "This encryptor is read-only" end |