method

on_encrypted_attribute_declared

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Configurable
on_encrypted_attribute_declared(&block) public

Register callback to be invoked when an encrypted attribute is declared.

Example

ActiveRecord::Encryption.on_encrypted_attribute_declared do |klass, attribute_name|
  ...
end
Show source
Register or log in to add new notes.