Skip to content

Commit aea0e68

Browse files
Link Rails.application.key_generator [ci-skip]
Prior to this commit, RDoc formatted "Rails.application.key_generator" as `<a href="..."><code>Rails.application</code></a>.key_generator`.
1 parent 50efa73 commit aea0e68

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

activerecord/lib/active_record/signed_id.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ def find_signed!(signed_id, purpose: nil, on_rotation: nil)
7676
end
7777

7878
# The verifier instance that all signed ids are generated and verified from. By default, it'll be initialized
79-
# with the class-level +signed_id_verifier_secret+, which within \Rails comes from the
80-
# Rails.application.key_generator. By default, it's SHA256 for the digest and JSON for the serialization.
79+
# with the class-level +signed_id_verifier_secret+, which within Rails comes from
80+
# {Rails.application.key_generator}[rdoc-ref:Rails::Application#key_generator].
81+
# By default, it's SHA256 for the digest and JSON for the serialization.
8182
def signed_id_verifier
8283
@signed_id_verifier ||= begin
8384
secret = signed_id_verifier_secret

0 commit comments

Comments
 (0)