You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
Is there anyway to write this in squeel without the SQL syntax?
scope :within_weekday, -> (weekday) {where('? BETWEEN start_day AND end_day', weekday)}
scope :within_time, -> (time) {where('? BETWEEN start_time AND end_time', time)}
The text was updated successfully, but these errors were encountered:
Is there anyway to write this in squeel without the SQL syntax?
The text was updated successfully, but these errors were encountered: