Update Rails to 7.2 and next Rails to 8.0

Only needed some changes to the serializing in Conference.
This commit is contained in:
Henne Vogelsang 2025-08-12 14:05:46 +02:00
parent 3c23b5c8ed
commit ba2b2b7fc9
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
7 changed files with 621 additions and 560 deletions

View file

@ -36,6 +36,6 @@ module Osem
# This is a nightmare with our current data model, no one ever thought about this.
config.active_record.belongs_to_required_by_default = false
# https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
config.active_record.yaml_column_permitted_classes = ['Date', 'DateTime', 'Symbol', 'Time', 'ActiveSupport::TimeWithZone', 'ActiveSupport::TimeZone']
config.active_record.yaml_column_permitted_classes = [Date, DateTime, Symbol, Time, ActiveSupport::TimeWithZone, ActiveSupport::TimeZone]
end
end