aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/json
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-06-13 06:31:55 -0300
committerJosé Valim <jose.valim@gmail.com>2010-06-13 13:56:08 +0200
commitb514b4d6962f3bb04062a900b15d2db118fa20ab (patch)
tree391aaa3a053c5bde95adb7795fdad266bde3feb8 /activesupport/lib/active_support/json
parenta12079df9f6fab7a491600219173c18e5166a7bb (diff)
downloadrails-b514b4d6962f3bb04062a900b15d2db118fa20ab.tar.gz
rails-b514b4d6962f3bb04062a900b15d2db118fa20ab.tar.bz2
rails-b514b4d6962f3bb04062a900b15d2db118fa20ab.zip
removes spurious .rb in require
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/lib/active_support/json')
-rw-r--r--activesupport/lib/active_support/json/decoding.rb2
1 files changed, 1 insertions, 1 deletions
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