Skip to content
Browse files

removes spurious .rb in require

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent a12079d commit b514b4d6962f3bb04062a900b15d2db118fa20ab @spastorino spastorino committed with josevalim Jun 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/json/decoding.rb
View
2 activesupport/lib/active_support/json/decoding.rb
@@ -22,7 +22,7 @@ def backend=(name)
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

0 comments on commit b514b4d

Please sign in to comment.
Something went wrong with that request. Please try again.