i’m trying things out with rails, and I’m having trouble with showing
a list of products.
i hope someone can help me out with this…
my tables are simple and it contains the following fields
product table : id | Name | Price | Country_id
country table : id | CountryName
and I input products info with selected id numbers from the “country”
table and insert the country.id into products.Country_id.
I am trying to show countryName from the country table on the products
it would be wonderful if anyone can help me out with this…