Skip to content

Commit 1bb4483

Browse files
authored
Merge pull request rails#53239 from skipkayhil/hm-fix-aj-aop
Fix Zeitwerk error when Pathname added to paths [ci-skip]
2 parents d8e16d6 + 0795355 commit 1bb4483

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_job_basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ to set-up serializers to be loaded only once, e.g. by amending `config/applicati
636636
# config/application.rb
637637
module YourApp
638638
class Application < Rails::Application
639-
config.autoload_once_paths << Rails.root.join('app', 'serializers')
639+
config.autoload_once_paths << "#{root}/app/serializers"
640640
end
641641
end
642642
```

0 commit comments

Comments
 (0)