Filter
Exclude
Time range
-
Near
Something like that: class TennantJob < ApplicationJob before_enqueue do |job| RunningTenantJobs.create!(job:, tenant:, status: :queued, meta: job.arguments.to_h) end after_perform do |job| RunningTenantJobs.find_by(...).update!(status:) end end

2
2
40
8 Nov 2024
Friendly reminder to use Emojis in your class names. class Oh🤯Job < ApplicationJob ... end Why would you even? Because you can!
1
12
1,217
🔧 Rails入門23日目: バックグラウンドジョブ 🛠️ Active Jobでバックグラウンドジョブを設定! class MyJob < ApplicationJob queue_as :default def perform(*args) # ジョブの内容 end end 次回はメール送信の設定を解説!✨ #RubyOnRails #プログラミング #初心者歓迎 #Web開発
2
45
17 Apr 2024
Rails 7.1 added a `--parent` option to the job generator to specify a parent class for a job. If you have a `PaymentJob < ApplicationJob` class, you can now generate a new job class that subclasses `PaymentJob`. #RailsTip
1
11
110
11,311
15 Feb 2024
Solved this by setting solid_queue as the default adaptor and subsclassing all sidekiq jobs from a new SidekiqApplicationJob. As I further my migration over to solid_queue I'll just change each job subclass ApplicationJob
15 Feb 2024
As I slowly migrate my background jobs from sidekiq to solid_queue, one hurdle is being able to set the queue_adaptor for the built in Rails jobs - mailers, action_mailbox_routing etc? Anyone know how? (not the queue name, the adaptor to use)
2
45
3,302
If you come from Sidekiq and try SoldiQueue, you can set the following `retry_on` options in your ApplicationJob class to mimic Sidekiq retry mechanism. It will catch all exception and retry them with exponential backoff a maximum of 25 times.
2
4
45
3,910
[Qiita過去記事紹介] 「ApplicationJobからメールを飛ばす時はdeliver_nowを使う」 qiita.com/marumo3/items/2077… #Ruby #Rails

1
1
39
[Qiita過去記事紹介] 「ApplicationJobからメールを飛ばす時はdeliver_nowを使う」 qiita.com/marumo3/items/2077… #Ruby #Rails

1
2
38
If you're using Rails 5.x and up, be sure you are using ApplicationJob as the basis and not creating Workers that inherit from Sidekiq::Worker! There are tuts out there for both, but AppJob is the hotness. :)
3
1
This short work week was all about TESTING! (Something that I am new to and still fuzzy on.) I tested a new functionality in our Rails app using the Minitest testing suite. This consisted of testing a model, controller, and an ApplicationJob.
1
8
21 Nov 2017
class User class CreateWorker < ApplicationJob end end なら問題起きないはず。 class User::CreateWorker は危険。
1
6 Oct 2016
RailsのApplicationJob、なんもgemとか足さないで非同期処理できたが?なんだこの便利なのは
1
Rails 5 Adds Another Base Class: 'ApplicationJob' for Jobs - blog.bigbinary.com/2016/06/1…

5
16
Algo medio formal y seria jajajaj #applicationJob #purpura #secretary #brunette #frames
1
3