Hello,
I’m trying to solve a problem without success. Look at:
I have 3 models (Recipe, Comments and User)
an Recipe has many Comments an User has many Comments an User has many Recipes
I tried to implement this using polymorphic associations with the Comment model. But the expected behavior needs to be: When a new comment is created i need to refer it in Recipe and Comments. To clarify i need to be able to search for one Recipe and use something like Recipe.comments to find comments!
Any suggestions?
Regards, Grabber.