I have 2 models author and product.
class Author < ActiveRecord::Base
class Product < ActiveRecord::Base
I have also created the migration for the jointable authors_products
with the keys author_id and product_id.
Now, i suppose that when i have eg an author with author_id = 1 and a
product_id=4 in the join table, i should be able to access the product
title of that product and the author name of my author.
How can i access these values???
Thanx in advance for your time!