aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-25 14:23:03 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-25 14:32:15 -0700
commit8ee60660cec54f008ddaa54a4e8e06d099d8c7f5 (patch)
tree245f0b32314a3f10bf573642f398f539504ff656 /activesupport
parentc117e8e848f2743bd9b346ccdc0e41e5987699cf (diff)
downloadrails-8ee60660cec54f008ddaa54a4e8e06d099d8c7f5.tar.gz
rails-8ee60660cec54f008ddaa54a4e8e06d099d8c7f5.tar.bz2
rails-8ee60660cec54f008ddaa54a4e8e06d099d8c7f5.zip
Try speeding up rails booting
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 192a82e74f..3c422e0252 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -2,7 +2,12 @@ require 'benchmark'
require 'active_support/core_ext/benchmark'
require 'active_support/core_ext/exception'
require 'active_support/core_ext/class/attribute_accessors'
-require 'active_support/core_ext' # FIXME: pulling in all to_param extensions
+
+%w(hash nil string time date date_time array big_decimal range object boolean).each do |library|
+ require "active_support/core_ext/#{library}/conversions"
+end
+
+# require 'active_support/core_ext' # FIXME: pulling in all to_param extensions
module ActiveSupport
# See ActiveSupport::Cache::Store for documentation.