Sha256: b12956ffbcdc83c1a230efe0e6c7567e85936f9afdf58a378003513c79a05f6b

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

require "rails/railtie"

module Packs
  module Rails
    class Railtie < ::Rails::Railtie
      config.before_configuration do |app|
        Integrations::Rails.new(app)
        Integrations::FactoryBot.new(app)

        # This is not used within packs-rails. Rather, this allows OTHER tools to
        # hook into packs-rails via ActiveSupport hooks.
        ActiveSupport.run_load_hooks(:packs_rails, Packs)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
packs-rails-0.0.3 lib/packs/rails/railtie.rb
packs-rails-0.0.2 lib/packs/rails/railtie.rb
packs-rails-0.0.1 lib/packs/rails/railtie.rb