With these associations;
- Product belongs_to :thing
- Thing has_many :products
Having selected multiple objects like this:
@products = Product.find(1,2,3)
How would i go about requesting their corresponding associated objects in an another instance variable? as such:
@things = (the things of product 1,2 and 3)
1 Answer