I'm developing a Game Database where every User can Add Titles to the
list, for everyone to see (like imdb). But Also I want to add game
titles to a personal list. How Do I do that?
So far everything is working fine. I can show the details of each
created game, now I only need an action button that adds this very game
title to my personal profile list.
First I created a Model "profile" which belongs to a User and has many
In my gamesController I added the method:
@profile = Game.find(params[:id])
But I don't know if this is right. What should my routing look like? How
do I do this properly? I appreciate any kind of help!