Date-conventions


#1

hey all
i got a (hopefully) simple question…

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

purchased_at

or

purchased_on ?

its only a date and not a datetime…

ty
Sebastian


#2

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-