Re: [Rails] Re: User and Game Association help.

2012-02-01 Thread Colin Law
On 1 February 2012 11:39, Christopher Jones wrote: >> If you have a user, current_user for example, then his games will be >> current_user.games. > > At the moment I have under the profile @user.games that should return > all games associated with that particular user but no results. In that case

[Rails] Re: User and Game Association help.

2012-02-01 Thread Christopher Jones
> If you have a user, current_user for example, then his games will be > current_user.games. At the moment I have under the profile @user.games that should return all games associated with that particular user but no results. I would like it so that when a new game is added it will associate it

[Rails] Re: User and Game Association help.

2012-01-31 Thread CavalryJim
On Jan 31, 7:16 pm, Christopher Jones wrote: > Hi all, I am currently doing work on my rails project and have hit a > wall. I am quite new to Rails so at the moment only know a little bit > about it. > > I have a users table and a games table. At the moment I am able to enter > in user informati