Skip to content

Commit

Permalink
add "ActiveSupport::TimeWithZone" to yaml_column_permitted_classes
Browse files Browse the repository at this point in the history
  • Loading branch information
abdellani committed Jan 3, 2024
1 parent ec439b4 commit 0a474f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ module ::Reporting; end
config.action_view.form_with_generates_remote_forms = false
config.active_record.cache_versioning = false
config.active_record.has_many_inversing = false
config.active_record.yaml_column_permitted_classes = [BigDecimal, Symbol]
config.active_record.yaml_column_permitted_classes = [BigDecimal, Symbol, ActiveSupport::TimeWithZone]

config.active_support.escape_html_entities_in_json = true

Expand Down

0 comments on commit 0a474f9

Please sign in to comment.