Displaying 1 result from an estimated 1 matches for "footballgam".
Did you mean:
footballgame
2007 Oct 15
2
Association Help , 2 Teams playing a FootballGame
So I have the models
class FootballGame < ActiveRecord::Base
end
and
class Team < ActiveRecord::Base
end
I want to be able to do something like this
@t1 = Team.create(:name=>"Michigan Wolverines football")
@t1.save
@t2 = Team.create(:name=>"Penn State Nittany Lions football")
@t2.save
@g = FootballG...