Skip to content

Commit 732a4ef

Browse files
Intrepiddrosa
authored andcommitted
Fix scheduled scope
1 parent 50b29d4 commit 732a4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/solid_queue/job/schedulable.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module Schedulable
88
included do
99
has_one :scheduled_execution
1010

11-
scope :scheduled, -> { where.not(finished_at: nil) }
11+
scope :scheduled, -> { where(finished_at: nil) }
1212
end
1313

1414
class_methods do

0 commit comments

Comments
 (0)