aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-01 11:06:47 +0100
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-02 17:50:12 -0800
commitb540eca5889d7a28fac39c9ec0df715aa89487ce (patch)
tree76a8ef40d8a9e99f1dc36a5b526b9a4c9c62567c /activesupport/lib/active_support/cache.rb
parent8935854375a6c08acd617beaec30f6fd09a29ea0 (diff)
downloadrails-b540eca5889d7a28fac39c9ec0df715aa89487ce.tar.gz
rails-b540eca5889d7a28fac39c9ec0df715aa89487ce.tar.bz2
rails-b540eca5889d7a28fac39c9ec0df715aa89487ce.zip
Consolidate Object#to_param and #to_query core extensions
Diffstat (limited to 'activesupport/lib/active_support/cache.rb')
-rw-r--r--activesupport/lib/active_support/cache.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 818983fdd6..b91ae65e9f 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -2,12 +2,7 @@ require 'benchmark'
require 'active_support/core_ext/benchmark'
require 'active_support/core_ext/exception'
require 'active_support/core_ext/class/attribute_accessors'
-
-%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
+require 'active_support/core_ext/object/to_param'
module ActiveSupport
# See ActiveSupport::Cache::Store for documentation.