Commit b2b950f 1 parent 7453807 commit b2b950f Copy full SHA for b2b950f
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 314
314
nio4r (~> 2.0 )
315
315
pundit (2.3.2 )
316
316
activesupport (>= 3.0.0 )
317
- racc (1.7.3 )
317
+ racc (1.8.0 )
318
318
rack (2.2.9 )
319
319
rack-session (1.0.2 )
320
320
rack (< 3 )
373
373
redcarpet (3.6.0 )
374
374
redis-client (0.22.1 )
375
375
connection_pool
376
- regexp_parser (2.9.1 )
376
+ regexp_parser (2.9.2 )
377
377
reline (0.5.5 )
378
378
io-console (~> 0.5 )
379
379
rexml (3.2.8 )
432
432
rubocop-performance (1.21.0 )
433
433
rubocop (>= 1.48.1 , < 2.0 )
434
434
rubocop-ast (>= 1.31.1 , < 2.0 )
435
- rubocop-rails (2.24.1 )
435
+ rubocop-rails (2.25.0 )
436
436
activesupport (>= 4.2.0 )
437
437
rack (>= 1.1 )
438
438
rubocop (>= 1.33.0 , < 2.0 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def permitted_attributes(_params)
22
22
23
23
class Scope < ApplicationScope
24
24
def resolve
25
- scope . includes ( :journal ) . where ( " published_at < ?" , Time . zone . now )
25
+ scope . includes ( :journal ) . where ( published_at : ... Time . zone . now )
26
26
. or ( scope . includes ( :journal ) . where ( journal : { room : person . rooms } ) )
27
27
end
28
28
end
You can’t perform that action at this time.
0 commit comments