     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 this

###*
Returns true if this string only contains whitespace characters.

@name blank
@methodOf String#

@returns Whether or not this string is blank.
@type Boolean
###
String::blank = ->
  /^\s*$/.test(this)


###*
Returns true if this string only contains whitespace characters.

@name blank
@methodOf String#

@returns Whether or not this string is blank.
@type Boolean
###
String::blank = ->
  /^\s*$/.test(this)

###*
@name camelize
@methodOf String#
###
String::camelize = ->
  this.trim().replace /(\-|_|\s)+(.)?/g, (match, separator, chr) ->
    if chr then chr.toUpperCase() else ''

###*
@name capitalize
@methodOf String#
###
String::capitalize = ->
  this.charAt(0).toUpperCase() + this.substring(1).toLowerCase()

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

