Methods

Instance Public methods

signed_id_verifier_secret=(secret)

📝 Source code
# 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
🔎 See on GitHub

Definition files