method
on_encrypted_attribute_declared
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Encryption::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