method

aliased_table_name

Importance_1
v5.1.7 - Show latest stable - 0 notes - Class: Association
aliased_table_name() public

Returns the name of the table of the associated class:

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