The table with the foreign key in it belongs_to the table that that foreign key references.
The table with the referenced primary key in it has_one or has_many of the table with the foreign key in it.
I will not forget this again!
Adventures in Computer Programming – bakert@gmail.com
The table with the foreign key in it belongs_to the table that that foreign key references.
The table with the referenced primary key in it has_one or has_many of the table with the foreign key in it.
I will not forget this again!