zeitwerk: move our Array extension to initializers/core_ext
This commit is contained in:
parent
465e3576c6
commit
819325c761
3 changed files with 3 additions and 1 deletions
|
@ -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']
|
||||
|
|
3
config/initializers/core_ext.rb
Normal file
3
config/initializers/core_ext.rb
Normal file
|
@ -0,0 +1,3 @@
|
|||
Dir[File.join(Rails.root, "lib", "core_ext", "*.rb")].each do |core_ext_file|
|
||||
require core_ext_file
|
||||
end
|
Loading…
Reference in a new issue