1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Get AR CI passing again by requiring the entire core_ext

Note that this includes Time and Date; we should
  really figure out what parts of core_ext are really
  required for AR and require just those.
This commit is contained in:
Yehuda Katz 2009-05-16 12:09:25 -07:00
parent 59c4d9a5b4
commit 8e6a18d867

View file

@ -25,6 +25,9 @@ activesupport_path = "#{File.dirname(__FILE__)}/../../activesupport/lib"
$:.unshift(activesupport_path) if File.directory?(activesupport_path)
require 'active_support'
# TODO: Figure out what parts of AS are *actually* required and use those
require 'active_support/core_ext'
module ActiveRecord
# TODO: Review explicit loads to see if they will automatically be handled by the initilizer.
def self.load_all!