Skip to content

Commit

Permalink
Rails 5.2 features: enable cache versioning (recyclable keys) (forem#…
Browse files Browse the repository at this point in the history
…5329) [deploy]
  • Loading branch information
rhymes authored and mstruve committed Jan 2, 2020
1 parent 73188cd commit 13363dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/new_framework_defaults_5_2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# Make Active Record use stable #cache_key alongside new #cache_version method.
# This is needed for recyclable cache keys.
# Rails.application.config.active_record.cache_versioning = true
Rails.application.config.active_record.cache_versioning = true

# Use AES-256-GCM authenticated encryption for encrypted cookies.
# Also, embed cookie expiry in signed or encrypted cookies for increased security.
Expand Down

0 comments on commit 13363dd

Please sign in to comment.