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
With string where queries like where("starts_at <= :ends_at", ends_at: ends_at.end_of_day) the WhereRange cop doesn't suggest changing this to where(starts_at: ..ends_at.end_of_day)
I'd like to know more about the context. Are you referring to a case where join is used with where("starts_at <= :ends_at", ends_at: ends_at.end_of_day) to perform table joins?
With string where queries like
where("starts_at <= :ends_at", ends_at: ends_at.end_of_day)
the WhereRange cop doesn't suggest changing this towhere(starts_at: ..ends_at.end_of_day)
RuboCop version
The text was updated successfully, but these errors were encountered: