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 cd9fea0 commit dde5f6aCopy full SHA for dde5f6a
lib/better_together/engine.rb
@@ -44,7 +44,7 @@ class Engine < ::Rails::Engine
44
isolate_namespace BetterTogether
45
46
# Avoid modifying frozen autoload path arrays (Rails 8 compatibility)
47
- config.autoload_paths = Array(config.autoload_paths) + Dir["#{root}/lib/better_together/**/"]
+ paths.add 'lib', eager_load: true
48
49
config.generators do |g|
50
g.orm :active_record, primary_key_type: :uuid
0 commit comments