method

aliased_table_name

aliased_table_name()
public

Returns the name of the table of the related class:

post.comments.aliased_table_name # => "comments"