Sha256: 0ccaef5be3b5f9c4b0d6b0bafcf7272710e55f81f9868241f034bc035bd1ccfa
Contents?: true
Size: 496 Bytes
Versions: 28
Compression:
Stored size: 496 Bytes
Contents
module Schemacop class Railtie < Rails::Railtie initializer 'schemacop' do # Load global schemas unless Rails.env.development? V3::GlobalContext.eager_load! end # Tell Zeitwerk to ignore the files in our load path if defined?(Rails) && defined?(Zeitwerk) && Rails.autoloaders.zeitwerk_enabled? Schemacop.load_paths.each do |load_path| Rails.autoloaders.main.ignore(Rails.root.join(load_path)) end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems