mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add Symbol class allowed for YAML deserialization
This commit is contained in:
@@ -226,7 +226,7 @@ module Openfoodnetwork
|
||||
config.active_record.belongs_to_required_by_default = false
|
||||
config.active_record.cache_versioning = false
|
||||
config.active_record.has_many_inversing = false
|
||||
config.active_record.yaml_column_permitted_classes = [BigDecimal]
|
||||
config.active_record.yaml_column_permitted_classes = [BigDecimal, Symbol]
|
||||
|
||||
config.active_support.escape_html_entities_in_json = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user