aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/object/to_param.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-01 20:53:34 +0100
committerJeremy Kemper <jeremy@bitsweat.net>2010-01-01 14:28:56 -0800
commit9036bf82c62d7b9eb211526e7f8ec90ac07fc84b (patch)
tree2dcc049e15e9f306346d3ef0155e1d43bbffb6fc /activesupport/lib/active_support/core_ext/object/to_param.rb
parentcbab9c0347d2f17598a67a400448533628e6ad1d (diff)
downloadrails-9036bf82c62d7b9eb211526e7f8ec90ac07fc84b.tar.gz
rails-9036bf82c62d7b9eb211526e7f8ec90ac07fc84b.tar.bz2
rails-9036bf82c62d7b9eb211526e7f8ec90ac07fc84b.zip
to_param.rb needs active_support/core_ext/object/to_query
Diffstat (limited to 'activesupport/lib/active_support/core_ext/object/to_param.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/object/to_param.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/object/to_param.rb b/activesupport/lib/active_support/core_ext/object/to_param.rb
index 7ca763cbad..745c4d7dad 100644
--- a/activesupport/lib/active_support/core_ext/object/to_param.rb
+++ b/activesupport/lib/active_support/core_ext/object/to_param.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/object/to_query'
+
class Object
# Alias of <tt>to_s</tt>.
def to_param