mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Explain reason for eager loading
This commit is contained in:
parent
82f5dc5230
commit
bced489ac7
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
|
||||
<%- unless options[:skip_action_cable] -%>
|
||||
# Action Cable uses EventMachine which requires that all classes are loaded in advance
|
||||
Rails.application.eager_load!
|
||||
require 'action_cable/process/logging'
|
||||
<%- end -%>
|
||||
|
|
Loading…
Reference in a new issue