Flowdock
method

camelize

Importance_1
Ruby on Rails latest stable (v4.2.7) - 1 note - Class: String
camelize(uppercase_first_letter = true) public

File activesupport/lib/active_support/inflector/methods.rb, line 68

Show source
Register or log in to add new notes.
August 3, 2010
1 thank

Inverse function

String#underscore is inverse for the camelize.

“active_record”.camelize.underscore # => “active_record”