method
aliased_table_name
v4.2.1 -
Show 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"