Autocorrect new rubocop offenses

This commit is contained in:
Henne Vogelsang 2025-08-12 16:44:20 +02:00
parent deda3d4273
commit 988b3bf689
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
24 changed files with 48 additions and 41 deletions

View file

@ -25,7 +25,7 @@ class Survey < ActiveRecord::Base
now = Time.current.in_time_zone(timezone)
if start_date && end_date
now >= start_date && now <= end_date
now.between?(start_date, end_date)
elsif start_date && !end_date
now >= start_date
elsif !start_date && end_date