Skip to content

Commit e1f5b0a

Browse files
Add explicit eager_load! to rails preload.rb example
1 parent d179982 commit e1f5b0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

guides/rails-integration/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ end
4747
# frozen_string_literal: true
4848

4949
require_relative "config/environment"
50+
Rails.application.eager_load!
5051
~~~
5152

5253
3. Run the production server with `bundle exec falcon host`

0 commit comments

Comments
 (0)