search for: ro_ppc

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

Did you mean: ro_ppcs
2009 Jul 17
19
I need help saving table data from a rake task
...based on multiple returned arrays from a Rake task. Here is my example using just two arrays (there are 14 in this particular rake task): update_tsos_offense = TsosOffense.new to_team_id, to_ppcs = update_tsos_offense.calculate_tsos(TotalOffense, "ydspgm", "desc") ro_team_id, ro_ppcs = update_tsos_offense.calculate_tsos(RushingOffense, "ydspg", "desc") This task starts with creating a new object (TsosOffense) which is the model that houses the table I will eventually write/save data to. It then calls a method from this new object and returns 2 results fro...