method

aliased_table_name

Importance_1
v3.1.0 - Show latest stable - 0 notes - Class: Association
aliased_table_name() public

Returns the name of the table of the related class:

post.comments.aliased_table_name # => "comments"
Show source
Register or log in to add new notes.