Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bvandenbos/resque-scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
bvandenbos committed May 4, 2012
2 parents c072055 + 679ac7c commit 32e8154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque_scheduler/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32e8154

Please sign in to comment.