instance method to_h

Ruby on Rails 8.0.4

Since v7.0.10

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

to_h()

No documentation comment.

Source
# File activerecord/lib/active_record/encryption/scheme.rb, line 65
      def to_h
        { key_provider: @key_provider_param, deterministic: @deterministic, downcase: @downcase, ignore_case: @ignore_case,
          previous_schemes: @previous_schemes_param, **@context_properties }.compact
      end

Defined in activerecord/lib/active_record/encryption/scheme.rb line 65 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Encryption::Scheme

Type at least 2 characters to search.

↑↓ navigate · open · esc close