Permalink
Browse files

Error in ARClient silencing

  • Loading branch information...
1 parent 6d61182 commit 8d6f373e4479e375b0dba5b0807f47b92bdd3513 @ragalie committed Aug 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/workling/clients/active_record_client.rb
@@ -53,8 +53,8 @@ def request(key, value)
def retrieve(key)
namespace = Workling.config[:namespace] || ""
key = namespace + ":" + key
- ActiveRecord::Base.silence do
- job = WorklingJob.find(:first,
+ job = ActiveRecord::Base.silence do
+ WorklingJob.find(:first,
:conditions => ["queue = ? AND status IS NULL", key])
end

0 comments on commit 8d6f373

Please sign in to comment.