update rails to v8.0.1

This commit is contained in:
Alex Turchyn
2024-12-20 17:01:27 +02:00
committed by Pete Matsyburka
parent ca429bc445
commit e9bd11cb2e
8 changed files with 166 additions and 163 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ ActiveStorage::LogSubscriber.detach_from(:active_storage) if Rails.env.productio
Rails.configuration.to_prepare do
ActiveStorage::DiskController.after_action do
response.set_header('Cache-Control', 'public, max-age=31536000') if action_name == 'show'
response.set_header('cache-control', 'public, max-age=31536000') if action_name == 'show'
end
ActiveStorage::Blobs::ProxyController.before_action do
@@ -1,4 +1,4 @@
# frozen_string_literal: true
Rails.application.config.filter_parameters += %i[password token otp_attempt passw secret token _key crypt salt
certificate otp ssn file]
certificate otp ssn file cvv cvc]