Piotr Rogozińskirogodev.hashnode.net·Apr 22, 2023Sidekiq jobs in ActiveRecord transactionsLet's take a look at the following code: def create_event ActiveRecord::Base.transaction do event = Event.create(name: "Cool event") EventNotificationWorker.perform_async(event.id) end end Pretty straightforward - we create a new event a...194 readssidekiqAdd a thoughtful commentNo comments yetBe the first to start the conversation.