search for: current_go

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

Did you mean: current_cs
2007 Oct 16
3
Controller iterating through returned records and appending to each
...nt active goal based on the "effective date." After playing around with it a bunch, I got the following to work. Only problem is that if I remove the "@employees.each { |e|....." line, the test still passes (which means the test isn''t accurate). I had to stub out "current_goal" and "current_goal=" because I kept getting "unexpected call" errors on each. Controller excerpt: def employee_report @employees = Employee.find_active_employees @employees.each { |e| e.current_goal = e.billablegoals.empty? ? "-" : e.billablegoals.sel...