diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-06-13 06:31:55 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-13 13:56:08 +0200 |
commit | b514b4d6962f3bb04062a900b15d2db118fa20ab (patch) | |
tree | 391aaa3a053c5bde95adb7795fdad266bde3feb8 /activesupport/lib/active_support/json | |
parent | a12079df9f6fab7a491600219173c18e5166a7bb (diff) | |
download | rails-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.rb | 2 |
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 |