Permalink
Browse files

return value for unsupported object types

  • Loading branch information...
1 parent 26c5a81 commit 8f431e2c7eedd7fe77f371f5916f9778f7098f0a @joshmh joshmh committed Feb 12, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/globalize/backend/static.rb
@@ -52,7 +52,8 @@ def translation(result, meta = nil)
translation(value, meta)
end
else
- raise "unexpected translation type: #{result.inspect}"
+ result
+ # raise "unexpected translation type: #{result.inspect}"
end
end
end

0 comments on commit 8f431e2

Please sign in to comment.