I have in the database two date columns - from_date and to_date.
from_date
to_date
Example:
data = ModelName.where("today >= from_date AND today <= to_date")