method

aliased_table_name

aliased_table_name()
public

Returns the name of the table of the associated class:

post.comments.aliased_table_name # => "comments"