search for: get_rosters

Displaying 1 result from an estimated 1 matches for "get_rosters".

2006 Apr 13
2
One model won''t work like the others, generating weird error
...39;CAJ'',''HAG'',''BUZ'',''DTR'',''COL'',''SPO'',''SEA'',''MAD'',''CRE''] result = Team.find(:all) #if params[:id] == "ac" # @team_rosters = get_rosters(ac_teams) #elsif params[:id] == "nc" # @team_rosters = get_rosters(nc_teams) #else # @team_rosters = get_rosters(ac_teams) # @team_rosters << get_rosters(nc_teams) #end end end It chokes on the Team.find line, spewing out the above-mentioned error. T...