Sha256: 20a412a8a3e777ff80e78a852409c24f8c049e18f3249a41720b2a49a2b9f798
Contents?: true
Size: 946 Bytes
Versions: 9
Compression:
Stored size: 946 Bytes
Contents
# frozen_string_literal: true # Code in this file is copied from `require "rails/all"` RAILS_ALL = %w[active_record/railtie action_controller/railtie action_view/railtie action_mailer/railtie active_job/railtie action_cable/engine rails/test_unit/railtie sprockets/railtie].freeze # Yext is not using these elements of Rails yet. Remove them. RAILS_USED = RAILS_ALL - %w[active_record/railtie action_view/railtie action_mailer/railtie active_job/railtie action_cable/engine rails/test_unit/railtie sprockets/railtie].freeze RAILS_USED.each do |railtie| begin require railtie rescue LoadError => e # :nocov: Rails.logger.error e # :nocov: end end
Version data entries
9 entries across 9 versions & 1 rubygems