Results 1 to 4 of 4
Thread: more related table issues
Nov 11, 2007, 14:46 #1
more related table issues
I am trying to show data from a topics table that has a one to many relationship with a posts table. The following code only shows the the foreign key (expectedly.) How do I get this to show the topic in the topics table based on this foreign key?
<%= post.topic_id %>