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?
Thanks!
Code:<%= post.topic_id %>





osts in topics.rb and have tried 
Bookmarks