Guest User

Untitled

a guest
May 24th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. Item.find(:all, :conditions => ["created_at >= ? AND created_at <= ?", Time.zone.now.beginning_of_day.utc, Time.zone.now.end_of_day.utc])
Add Comment
Please, Sign In to add comment