1
0
Fork 0
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:
David Heinemeier Hansson 2015-12-18 12:33:54 +01:00
parent 82f5dc5230
commit bced489ac7

View file

@ -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 -%>