lib/resque/failure.rb in nfo-resque-mongo-1.15.0 vs lib/resque/failure.rb in nfo-resque-mongo-1.15.1
- old
+ new
@@ -54,12 +54,12 @@
backend.all(start, count)
end
# Will hold the last count - start results of
# a search through all the failed jobs,
- # using the query string 'squery'
- def self.search_results(start = 0, count = 1, squery)
- backend.search_results(start, count, squery)
+ # using the query string 'query'
+ def self.search_results(query, start = 0, count = 1)
+ backend.search_results(query, start, count)
end
# The string url of the backend's web interface, if any.
def self.url
backend.url