摘要: Sidekiq::Queue.new('default').select do |job| job.klass == 'WorkerClass' && job.args[0]['xxx'] == "25471" end.each(&:delete) Sidekiq::RetrySet.new.sel 阅读全文
posted @ 2016-02-23 20:36 耿小曾 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 以下来自(http://stackoverflow.com/questions/19773266/confusing-about-autoload-paths-vs-eager-load-paths-in-rails-4) In Ruby you have to require every .rb 阅读全文
posted @ 2016-02-23 10:38 耿小曾 阅读(179) 评论(0) 推荐(0) 编辑