method
aliased_table_name
rails latest stable - Class:
ActiveRecord::Associations::Association
aliased_table_name()public
Returns the name of the table of the associated class:
post.comments.aliased_table_name # => "comments"
aliased_table_name()Returns the name of the table of the associated class:
post.comments.aliased_table_name # => "comments"