Sha256: 6729fec8966d2955bdccaa9e1f1680d1cbfc6e71ba7c2f6d72820817597c2b22
Contents?: true
Size: 413 Bytes
Versions: 5
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true module IsThisUsed class Railtie < Rails::Railtie initializer "is_this_used_railtie.configure_post_initialize_cleanup" do config.after_initialize do if Rails.application.config.eager_load IsThisUsed::CruftCleaner.clean🧹 end end rescue StandardError # Swallow all errors to prevent initialization failures. end end end
Version data entries
5 entries across 5 versions & 1 rubygems