Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions guides/rails-integration/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ end
# frozen_string_literal: true

require_relative "config/environment"
Rails.application.eager_load!
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Rails.application.eager_load!
# This will load *all* of your application code into memory before fork, regardless
# of its usage (or not) in a web process.
# Depending on the structure of code in your application, you may want to disable
# this, however, this is probably not true for most rails applications.
Rails.application.eager_load!

~~~

3. Run the production server with `bundle exec falcon host`
Expand Down
Loading