class method self.signed_id_verifier_secret

Ruby on Rails 8.1.2

Since v6.1.7.10

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

Set the secret used for the signed id verifier instance when using Active Record outside of Rails. Within Rails, this is automatically set using the Rails application key generator.

Source
# File activerecord/lib/active_record/signed_id.rb, line 15
      class_attribute :signed_id_verifier_secret, instance_writer: false

Defined in activerecord/lib/active_record/signed_id.rb line 15 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::SignedId

Type at least 2 characters to search.

↑↓ navigate · open · esc close