方法
实例公共方法
signed_id_verifier_secret=(secret) 链接
来源: 显示 | 在 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 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