aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/version.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-05-11 17:40:41 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-05-11 18:01:26 +0900
commitf73b845610931ddf03c756d804982776a3cc69a4 (patch)
tree840536837bb62f17ebb4b3d0db067ae4ea0315b4 /activerecord/lib/active_record/version.rb
parent22bfc5f4847f96549688314d9ee4c01d07d4589b (diff)
downloadrails-f73b845610931ddf03c756d804982776a3cc69a4.tar.gz
rails-f73b845610931ddf03c756d804982776a3cc69a4.tar.bz2
rails-f73b845610931ddf03c756d804982776a3cc69a4.zip
Defer loading each DB Tasks class from AR DatabaseTasks
Because we don't need to load tasks for DBs that we don't use for the current app. Also, these Tasks classes load AR::Base in their class level, and so immediately kick :active_record on_load hooks. This used to happen when we were loading tasks, not when we run a task.
Diffstat (limited to 'activerecord/lib/active_record/version.rb')
0 files changed, 0 insertions, 0 deletions