aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/channel/callbacks.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-08-07 17:09:29 +0200
committerKasper Timm Hansen <kaspth@gmail.com>2016-08-07 17:09:29 +0200
commitff8035dfeed8c86594c32ef8e9204806e190cb58 (patch)
treeb06bdba04dbf879dbcf7d63da06680bb3fa25f7b /actioncable/lib/action_cable/channel/callbacks.rb
parent8f26f31934b4f0c694a081d2a89996f3935768d1 (diff)
downloadrails-ff8035dfeed8c86594c32ef8e9204806e190cb58.tar.gz
rails-ff8035dfeed8c86594c32ef8e9204806e190cb58.tar.bz2
rails-ff8035dfeed8c86594c32ef8e9204806e190cb58.zip
Defer requiring Rake until it's needed.
Eagerly requiring Rake could put 100ms on to the Rails boot time. Shimmy that down to 0 by requiring Rake when no native Rails command exists and we try to run a Rake task. Or when printing all the Rake commands through `rails help`. Fixes #25029
Diffstat (limited to 'actioncable/lib/action_cable/channel/callbacks.rb')
0 files changed, 0 insertions, 0 deletions