module ActiveRecord::SignedId::DeprecateSignedIdVerifierSecret
Public instance methods
Source code GitHub
# 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 the future.
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