Skip to content

Instantly share code, notes, and snippets.

View application.rb
# ...
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
# TODO: remove once gems no longer need it. See required file for details.
# Patches Rails before initializing Gems. Also covers rake tasks that don't depend on :environment.
if Rails.gem_version >= Gem::Version.new('6.1') # Forward-port methods removed in 6.1
require_relative "../lib/extensions/core_ext/module/introspection"