DEV: Move more service code to core (#26613)

This is to enable :array type attributes for Contract
attributes in services, this is a followup to the move
of services from chat to core here:

cab178a405

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
This commit is contained in:
Martin Brennan
2024-04-12 21:14:19 +10:00
committed by GitHub
parent a2db8d9439
commit 380e5ca6cb
7 changed files with 37 additions and 36 deletions

View File

@@ -0,0 +1,5 @@
# frozen_string_literal: true
Rails.application.config.to_prepare do
ActiveModel::Type.register(:array, ActiveSupportTypeExtensions::Array)
end