Date-conventions

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

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs