Browse Source

Add Date and Time classes to yaml_column_permitted_classes (#37814).

Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21923 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 1 year ago
parent
commit
2d7d2c1bac
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      config/application.rb

+ 2
- 0
config/application.rb View File

@@ -33,6 +33,8 @@ module RedmineApp
config.active_record.store_full_sti_class = true
config.active_record.default_timezone = :local
config.active_record.yaml_column_permitted_classes = [
Date,
Time,
Symbol,
ActiveSupport::HashWithIndifferentAccess,
ActionController::Parameters

Loading…
Cancel
Save