From d8b06dc5c250f80687f3e9d5de77b6cdf106c8f0 Mon Sep 17 00:00:00 2001 From: kennyj Date: Thu, 19 Jan 2012 19:38:23 +0900 Subject: Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. --- activesupport/lib/active_support/core_ext/uri.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/core_ext/uri.rb b/activesupport/lib/active_support/core_ext/uri.rb index 0b219ce44a..bfe0832b37 100644 --- a/activesupport/lib/active_support/core_ext/uri.rb +++ b/activesupport/lib/active_support/core_ext/uri.rb @@ -20,7 +20,7 @@ end module URI class << self def parser - @parser ||= URI.const_defined?(:Parser) ? URI::Parser.new : URI + @parser ||= URI::Parser.new end end end -- cgit v1.2.3