From: Seebs Date: 2010-01-23T16:55:07+09:00 Subject: Re: search datetime column for all records that start at 11:00 On 2010-01-23, Morgan Morgan wrote: > i have to count how many records are in a database that have a start > time of 11:00 for an entire year. the problem is, i can't seem to find > out how to coax rails into ignoring the date to just search for a time. The simplest solution: Do that part of the check yourself, so just have Rails hand you the whole query and you do the heavy lifting. -s -- Copyright 2010, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!