mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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:
parent
3c23b5c8ed
commit
ba2b2b7fc9
7 changed files with 621 additions and 560 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue