zeitwerk: move our Array extension to initializers/core_ext

This commit is contained in:
Pierre de La Morinerie 2020-08-05 18:42:35 +02:00
parent 465e3576c6
commit 819325c761
3 changed files with 3 additions and 1 deletions

View file

@ -43,7 +43,6 @@
# published_revision_id :bigint
# service_id :bigint
#
require Rails.root.join('lib', 'percentile')
class Procedure < ApplicationRecord
self.ignored_columns = ['archived_at', 'csv_export_queued', 'xlsx_export_queued', 'ods_export_queued']

View file

@ -0,0 +1,3 @@
Dir[File.join(Rails.root, "lib", "core_ext", "*.rb")].each do |core_ext_file|
require core_ext_file
end