aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-05-16 12:09:25 -0700
committerYehuda Katz <wycats@gmail.com>2009-05-16 12:09:25 -0700
commit8e6a18d8672f7efe6ef79b49185e4a6a23e4e547 (patch)
tree0d3a0647aba9e53e9ca843bf6be2bee6360282bd /activerecord/lib
parent59c4d9a5b40dca45b095430d43c04d6c6541992d (diff)
downloadrails-8e6a18d8672f7efe6ef79b49185e4a6a23e4e547.tar.gz
rails-8e6a18d8672f7efe6ef79b49185e4a6a23e4e547.tar.bz2
rails-8e6a18d8672f7efe6ef79b49185e4a6a23e4e547.zip
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.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb
index 2d98239052..b5c17cb23b 100644
--- a/activerecord/lib/active_record.rb
+++ b/activerecord/lib/active_record.rb
@@ -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!