diff options
| author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-08-07 17:09:29 +0200 |
|---|---|---|
| committer | Kasper Timm Hansen <kaspth@gmail.com> | 2016-08-07 17:09:29 +0200 |
| commit | ff8035dfeed8c86594c32ef8e9204806e190cb58 (patch) | |
| tree | b06bdba04dbf879dbcf7d63da06680bb3fa25f7b /activemodel/lib/active_model/version.rb | |
| parent | 8f26f31934b4f0c694a081d2a89996f3935768d1 (diff) | |
| download | rails-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 'activemodel/lib/active_model/version.rb')
0 files changed, 0 insertions, 0 deletions
