Skip to content

Commit

Permalink
Rails 7.1: ArgumentError on invalid cache times
Browse files Browse the repository at this point in the history
Raise errors for invalid expires_at or expires_in cache times. Not
something we're using.
  • Loading branch information
rgarner committed Feb 6, 2025
1 parent b36f7af commit 0476797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/new_framework_defaults_7_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
# Options are `true`, and `false`. If `false`, the exception will be reported
# as `handled` and logged instead.
#++
# Rails.application.config.active_support.raise_on_invalid_cache_expiration_time = true
Rails.application.config.active_support.raise_on_invalid_cache_expiration_time = true

###
# Specify whether Query Logs will format tags using the SQLCommenter format
Expand Down

0 comments on commit 0476797

Please sign in to comment.