Skip to content

Commit

Permalink
Merge pull request rails#52678 from splitwise/ar-keyprovider-encrypti…
Browse files Browse the repository at this point in the history
…onkey-doc-fix

Fix ActiveRecord::Encryption::KeyProvider#encryption_key documentation [ci skip]
  • Loading branch information
rafaelfranca authored Aug 28, 2024
2 parents 94f6b75 + 67365e0 commit c692e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/encryption/key_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def initialize(keys)
@keys = Array(keys)
end

# Returns the first key in the list as the active key to perform encryptions
# Returns the last key in the list as the active key to perform encryptions
#
# When +ActiveRecord::Encryption.config.store_key_references+ is true, the key will include
# a public tag referencing the key itself. That key will be stored in the public
Expand Down

0 comments on commit c692e75

Please sign in to comment.