module ActiveSupport::Inflector

Public Instance Methods

dehumanize(s) click to toggle source
# File lib/dehumanize.rb, line 9
def dehumanize s
  s.titleize.gsub(" ", "").underscore
end