Skip to content

Commit

Permalink
WIP, use YAML as default column serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Oct 7, 2024
1 parent b6de864 commit 35c7f80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ class Application < Rails::Application

config.autoload_once_paths << Rails.root.join("lib/vmdb/console_methods.rb").to_s

config.active_record.default_column_serializer = YAML if Rails.version >= "7.1"

require_relative '../lib/request_started_on_middleware'
config.middleware.use RequestStartedOnMiddleware

Expand Down

0 comments on commit 35c7f80

Please sign in to comment.