table_name()
Instance Public methods
Guesses the table name (in forced lower-case) based on the name of the
class in the inheritance hierarchy descending directly from ActiveRecord::Base. So if the hierarchy looks like:
Reply < Message < ActiveRecord::Base, then Message is used to guess
the table name even when called on Reply.
The rules used to do the guess are handled by the Inflector class in Active
Support, which knows almost all common English inflections. You can add ne