From bf999b68c274b131a6c70ade68f17a3453ab2898 Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Tue, 18 Feb 2014 13:58:26 +0100 Subject: [PATCH] Fixed typo leading to 500, skipped test as essentially testing one line does not make sense and the reassign behaviour is erroneous anyway (you can reassign to any status, even if its not selected for a project) --- app/models/reported_project_status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/reported_project_status.rb b/app/models/reported_project_status.rb index e60ac53335..21e53717ad 100644 --- a/app/models/reported_project_status.rb +++ b/app/models/reported_project_status.rb @@ -46,6 +46,6 @@ class ReportedProjectStatus < Enumeration end def transfer_relations(to) - reportings.update.all(:reported_project_status_id => to.id) + reportings.update_all(:reported_project_status_id => to.id) end end