aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-06-12 01:00:45 +0530
committerKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-06-12 01:00:45 +0530
commitd697ee14264a90a39cdbe87857656d8b314ac9b7 (patch)
tree31ad6fbca0c08e85a7b4f8a67817b65962bf0776 /activesupport
parent85ba47e3f16b3cbc3adbfc673727db709cc1ba63 (diff)
downloadrails-d697ee14264a90a39cdbe87857656d8b314ac9b7.tar.gz
rails-d697ee14264a90a39cdbe87857656d8b314ac9b7.tar.bz2
rails-d697ee14264a90a39cdbe87857656d8b314ac9b7.zip
remove unnecssary require of `to_param`, as `to_query` is already require `to_param`
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/array/conversions.rb1
-rw-r--r--activesupport/lib/active_support/core_ext/hash/conversions.rb1
-rw-r--r--activesupport/lib/active_support/core_ext/object.rb1
3 files changed, 0 insertions, 3 deletions
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'