Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Error in ARClient silencing

  • Loading branch information...
commit 8d6f373e4479e375b0dba5b0807f47b92bdd3513 1 parent 6d61182
Mike Ragalie authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/workling/clients/active_record_client.rb
4 lib/workling/clients/active_record_client.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.