From d697ee14264a90a39cdbe87857656d8b314ac9b7 Mon Sep 17 00:00:00 2001 From: Kuldeep Aggarwal Date: Thu, 12 Jun 2014 01:00:45 +0530 Subject: remove unnecssary require of `to_param`, as `to_query` is already require `to_param` --- activesupport/lib/active_support/core_ext/array/conversions.rb | 1 - activesupport/lib/active_support/core_ext/hash/conversions.rb | 1 - activesupport/lib/active_support/core_ext/object.rb | 1 - 3 files changed, 3 deletions(-) (limited to 'activesupport/lib/active_support/core_ext') diff --git a/activesupport/lib/active_support/core_ext/array/conversions.rb b/activesupport/lib/active_support/core_ext/array/conversions.rb index 76ffd23ed1..6b632022c2 100644 --- a/activesupport/lib/active_support/core_ext/array/conversions.rb +++ b/activesupport/lib/active_support/core_ext/array/conversions.rb @@ -1,7 +1,6 @@ require 'active_support/xml_mini' require 'active_support/core_ext/hash/keys' require 'active_support/core_ext/string/inflections' -require 'active_support/core_ext/object/to_param' require 'active_support/core_ext/object/to_query' class Array diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb index 2149d4439d..5e86d9443e 100644 --- a/activesupport/lib/active_support/core_ext/hash/conversions.rb +++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb @@ -1,7 +1,6 @@ require 'active_support/xml_mini' require 'active_support/time' require 'active_support/core_ext/object/blank' -require 'active_support/core_ext/object/to_param' require 'active_support/core_ext/object/to_query' require 'active_support/core_ext/array/wrap' require 'active_support/core_ext/hash/reverse_merge' diff --git a/activesupport/lib/active_support/core_ext/object.rb b/activesupport/lib/active_support/core_ext/object.rb index f4f9152d6a..12d17a42c2 100644 --- a/activesupport/lib/active_support/core_ext/object.rb +++ b/activesupport/lib/active_support/core_ext/object.rb @@ -9,6 +9,5 @@ require 'active_support/core_ext/object/conversions' require 'active_support/core_ext/object/instance_variables' require 'active_support/core_ext/object/json' -require 'active_support/core_ext/object/to_param' require 'active_support/core_ext/object/to_query' require 'active_support/core_ext/object/with_options' -- cgit v1.2.3