Generate a secure token when initializing a record

This options doesn't affect us because we don't use `has_secure_token`,
so we're just using the new default value.
This commit is contained in:
Javi Martín
2024-04-15 16:50:41 +02:00
parent e35bf97928
commit a6e735dc4e

View File

@@ -214,7 +214,7 @@ Rails.application.config.active_record.commit_transaction_on_non_local_return =
### ###
# Controls when to generate a value for <tt>has_secure_token</tt> declarations. # Controls when to generate a value for <tt>has_secure_token</tt> declarations.
#++ #++
# Rails.application.config.active_record.generate_secure_token_on = :initialize Rails.application.config.active_record.generate_secure_token_on = :initialize
### ###
# ** Please read carefully, this must be configured in config/application.rb ** # ** Please read carefully, this must be configured in config/application.rb **