Resque perform immediately in development and test env
if Rails.env.development? || Rails.env.test?
module Resque
def self.enqueue(klass, *arguments)
klass.perform(*arguments)
end
end
end
Written by Alexandr Korsak
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#