Forum: Ruby on Rails Date-conventions

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sebastian J. (Guest)
on 2009-03-19 11:11
hey all
i got a (hopefully) simple question..

i want to name a datetype. now i started thinking about, if its



<b>purchased_on</b> ?

its only a date and not a datetime...

Harold (Guest)
on 2009-03-19 15:02
(Received via mailing list)
I've always followed:

*_on => some date
*_at => some datetime

I rarely ever use date only fields though. Sure you don't want to
store the purchase date _and_ time? Up to you of course...

On Mar 19, 5:11 am, Sebastian Joecks <rails-mailing-l...@andreas-
This topic is locked and can not be replied to.