Remove yaml_column_permitted_classes (#18108)
This commit is contained in:
parent
52676c3cac
commit
7880f46829
1 changed files with 1 additions and 5 deletions
|
|
@ -59,11 +59,7 @@ module PracticalDeveloper
|
|||
# To disable parameter wrapping entirely, set this config to `false`.
|
||||
config.action_controller.wrap_parameters_by_default = false
|
||||
### END FRAMEWORK DEFAULT OVERIDES
|
||||
config.active_record.yaml_column_permitted_classes = %w[Symbol Time OmniAuth::AuthHash Twitter::Entity::URI
|
||||
Twitter::Entity::Hashtag Twitter::Entity::UserMention
|
||||
Twitter::Entity::Cashtag Articles::CachedEntity
|
||||
OmniAuth::AuthHash::InfoHash OpenStruct Hashie::Array
|
||||
OAuth::AccessToken OAuth::Consumer Struct Net::HTTP]
|
||||
config.active_record.use_yaml_unsafe_load = true
|
||||
|
||||
# Disable auto adding of default load paths to $LOAD_PATH
|
||||
# Setting this to false saves Ruby from checking these directories when
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue