method

aliased_table_name

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

Method deprecated or moved

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

aliased_table_name()
public

Returns the name of the table of the related class:

post.comments.aliased_table_name # => "comments"