master
class SampleTvShowJob < ActiveJob::Base sidekiq_options retry: false def perform(tv_show) ActiveRecord::Base.connection_pool.with_connection do tv_show.sample end end end