class method
self.signed_id_verifier_secret
Ruby on Rails 7.0.10
Since v6.1.7.10Set 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 13
class_attribute :signed_id_verifier_secret, instance_writer: false
Defined in activerecord/lib/active_record/signed_id.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::SignedId