method

signed_id_verifier_secret=

rails latest stable - Class: ActiveRecord::SignedId::DeprecateSignedIdVerifierSecret

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

signed_id_verifier_secret=(secret)
public

No documentation available.

# File activerecord/lib/active_record/signed_id.rb, line 17
        def signed_id_verifier_secret=(secret)
          ActiveRecord.deprecator.warn(<<~MSG)
            ActiveRecord::Base.signed_id_verifier_secret is deprecated and will be removed in Rails 8.2.

            If the secret is model-specific, set Model.signed_id_verifier instead.

            Otherwise, configure Rails.application.message_verifiers (or ActiveRecord.message_verifiers) with the secret.
          MSG

          super
        end