Skip to content

Instantly share code, notes, and snippets.

@tommyp
Created March 30, 2011 20:11
Show Gist options
  • Save tommyp/895197 to your computer and use it in GitHub Desktop.
Save tommyp/895197 to your computer and use it in GitHub Desktop.
@negentries = FeedEntry.where(:status => 'negative').where("created_at >= #{Time.zone.now.beginning_of_day.to_s(:db)}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment