ruby - Sequel way of selecting all records of specific date -
ruby - Sequel way of selecting all records of specific date -
what's best way select records of specific date in sequel ignoring time?
writing clause range day's 0 23:59 seems unlike it. other way do?
use:
post.where(:created_at => (date.beginning_of_day..date.end_of_day)) where date date object
ruby sequel
Comments
Post a Comment