     that
   else
     undefined
+
+###*
+@name humanize
+@methodOf String#
+###
+String::humanize = ->
+  this.replace(/_id$/, "").replace(/_/g, " ").capitalize()
 
 ###*
 Parse this string as though it is JSON and return the object it represents. If it

###*
Return the class or constant named in this string.


    return this

###*
@name titleize
@methodOf String#
###
String::titleize = ->
    this.split(/[- ]/).map (word) ->
      word.capitalize()
    .join(' ')

