From eb7492dafdfac0e49748fde06884b89090bfbdf2 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Fri, 1 Mar 2013 15:50:25 +0400 Subject: [PATCH] #960: update AbfWorker::BaseObserver#subject method --- lib/abf_worker/base_observer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/abf_worker/base_observer.rb b/lib/abf_worker/base_observer.rb index 45151da79..e259be7b4 100644 --- a/lib/abf_worker/base_observer.rb +++ b/lib/abf_worker/base_observer.rb @@ -22,7 +22,7 @@ module AbfWorker protected def subject - @subject ||= @subject_class.find options['id'] + @subject ||= @subject_class.where(:id => options['id']).first end def update_results