method

aliased_table_name

rails latest stable - Class: ActiveRecord::Associations::Association

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

aliased_table_name()
public

Returns the name of the table of the associated class:

post.comments.aliased_table_name # => "comments"