method

with_context

Importance_0
v7.1.3.2 - 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 65
      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.