class String
def tableize
'fancyCategory'.tableize # => "fancy_categories"
'ham_and_egg'.tableize # => "ham_and_eggs"
'RawScaledScorer'.tableize # => "raw_scaled_scorers"
uses the +pluralize+ method on the last word in the string.
Creates the name of a table like Rails does for models to table names. This method
def tableize ActiveSupport::Inflector.tableize(self) end