class String
def classify
'ham_and_eggs'.classify # => "HamAndEgg"
follow +classify+ with +constantize+.)
Note that this returns a string and not a class. (To convert to an actual class
Creates a class name from a plural table name like Rails does for table names to models.
def classify ActiveSupport::Inflector.classify(self) end