Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix hooks for Ruby 1.8.7.

  • Loading branch information...
commit 1a1f02719aaf86acbb5289d295e0b6d43d1d2b11 1 parent b10a06a
@andreas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/resque_scheduler/plugin.rb
View
2  lib/resque_scheduler/plugin.rb
@@ -14,7 +14,7 @@ def run_hooks(job, pattern, *args)
end
def method_missing(method_name, *args, &block)
- if method_name =~ /^run_(.*)_hooks$/
+ if method_name.to_s =~ /^run_(.*)_hooks$/
job = args.shift
run_hooks job, $1, *args
else
Please sign in to comment.
Something went wrong with that request. Please try again.