Just realized: That probably means you could write this all one one fairly semantic line, below:

```ruby
account.messages.where(date_before: 3.hours.ago.to_i, date_after: 5.hours.ago.to_i).each do |message|
```