instance method
current_custom_context
Ruby on Rails 7.1.6
Since v7.0.10Signature
current_custom_context()
No documentation comment.
Source
# File activerecord/lib/active_record/encryption/contexts.rb, line 66
def current_custom_context
self.custom_contexts&.last
end
Defined in activerecord/lib/active_record/encryption/contexts.rb line 66
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Encryption::Contexts