[Rails] Re: group by datepart(day,created_at)...

2008-10-21 Thread sullivan.t
Had a bit of insight with the month(created_at) command, however, I don't seem to be allowed to use that command from within my models. On Oct 20, 3:17 pm, sullivan.t [EMAIL PROTECTED] wrote: What is the best way in rails, to so something similar to this sql: select

[Rails] Re: group by datepart(day,created_at)...

2008-10-21 Thread sullivan.t
Ahh yes, that'll probably do it. (I will try it soon.) I guess my days using Sybase Transact are a bit different in application to SQLite3. :P On Oct 21, 9:00 am, August Lilleaas [EMAIL PROTECTED] wrote: Thomas Sullivan wrote: What is the best way in rails, to so something similar to this