We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30976ed commit cb71945Copy full SHA for cb71945
lib/packs/rails/railtie.rb
@@ -5,15 +5,13 @@ module Rails
5
class Railtie < ::Rails::Railtie
6
config.before_configuration do |app|
7
Integrations::Rails.new(app)
8
-
+ Integrations::FactoryBot.new(app)
9
+
10
# This is not used within packs-rails. Rather, this allows OTHER tools to
11
# hook into packs-rails via ActiveSupport hooks.
12
ActiveSupport.run_load_hooks(:packs_rails, Packs)
13
end
14
- config.after_initialize do |app|
15
- Integrations::FactoryBot.new(app)
16
- end
17
18
19
0 commit comments