Sha256: 97bd063d6edd9af1419d14ffcc4311959ccf2beccafcfae6b4a2c0cd436df386
Contents?: true
Size: 261 Bytes
Versions: 6
Compression:
Stored size: 261 Bytes
Contents
module GoodJob class ActiveJobsController < GoodJob::BaseController def show @jobs = GoodJob::Job.where("serialized_params ->> 'job_id' = ?", params[:id]) .order('COALESCE(scheduled_at, created_at) DESC') end end end
Version data entries
6 entries across 6 versions & 1 rubygems