method

with_context

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: Scheme
with_context(&block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/encryption/scheme.rb, line 63
      def with_context(&block)
        if @context_properties.present?
          ActiveRecord::Encryption.with_encryption_context(**@context_properties, &block)
        else
          block.call
        end
      end
Register or log in to add new notes.