i have the following query in my app:
Page.where(published: false).where("published_at > current_date").where("publication_end IS NULL OR publication_end < current_date")
Now i want to change this where to or, I was trying:
Page.where((published: false) || ("published_at > current_date"))
but it not working. Is there any way to do it?