Permalink
Browse files

Don't override ActiveSupport::Inflector.camelize

Closes #280.
  • Loading branch information...
1 parent 19ba8d0 commit c9cfacf89c0fa296d982e7bc376926fe52367395 @sferik committed Jul 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/twitter/core_ext/string.rb
@@ -5,6 +5,6 @@ class String
# @return [String]
def camelize
self.split('_').map(&:capitalize).join
- end
+ end unless method_defined?(:camelize)
end

0 comments on commit c9cfacf

Please sign in to comment.