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-
s.net> wrote:> hey all
> i got a (hopefully) simple question..
>
> i want to name a datetype. now i started thinking about, if its
>
> <b>purchased_at</b>
>
> or
>
> <b>purchased_on</b> ?
>
> its only a date and not a datetime...
>
> ty
> Sebastian
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---