Skip to content

Commit

Permalink
OTWO-7168 Fixed Psych::DisallowedClass exception in production (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
Priya Rani authored Jan 11, 2024
1 parent 0e60e46 commit 6ca520d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false

config.active_record.yaml_column_permitted_classes = [Symbol]
config.active_record.yaml_column_permitted_classes = [Symbol, Time]

# Use a different logger for distributed setups.
logger = ActiveSupport::Logger.new('/proc/1/fd/1')
Expand Down

0 comments on commit 6ca520d

Please sign in to comment.