Skip to content

Commit c692e75

Browse files
authored
Merge pull request rails#52678 from splitwise/ar-keyprovider-encryptionkey-doc-fix
Fix ActiveRecord::Encryption::KeyProvider#encryption_key documentation [ci skip]
2 parents 94f6b75 + 67365e0 commit c692e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/encryption/key_provider.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def initialize(keys)
1212
@keys = Array(keys)
1313
end
1414

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

0 commit comments

Comments
 (0)