From b514b4d6962f3bb04062a900b15d2db118fa20ab Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 13 Jun 2010 06:31:55 -0300 Subject: removes spurious .rb in require MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Valim --- activesupport/lib/active_support/json/decoding.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/json') diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb index 04ff316a44..c1f6330c6c 100644 --- a/activesupport/lib/active_support/json/decoding.rb +++ b/activesupport/lib/active_support/json/decoding.rb @@ -22,7 +22,7 @@ module ActiveSupport if name.is_a?(Module) @backend = name else - require "active_support/json/backends/#{name.to_s.downcase}.rb" + require "active_support/json/backends/#{name.to_s.downcase}" @backend = ActiveSupport::JSON::Backends::const_get(name) end @parse_error = @backend::ParseError -- cgit v1.2.3