Re: auto_now, auto_now add -- good or bad?

2011-07-16 Thread Russell Keith-Magee
On Sun, Jul 17, 2011 at 9:32 AM, Russell Keith-Magee wrote: > On Sat, Jul 16, 2011 at 12:22 AM, Shawn Milochik wrote: >> A discussion broke out in our office today about using these features, >> because there are blog posts[1] bashing them and a comment by JKM >> saying they should go away[2]. >

Re: auto_now, auto_now add -- good or bad?

2011-07-16 Thread Russell Keith-Magee
On Sat, Jul 16, 2011 at 12:22 AM, Shawn Milochik wrote: > A discussion broke out in our office today about using these features, > because there are blog posts[1] bashing them and a comment by JKM > saying they should go away[2]. Heh. This is an argument that goes back quite some time. It's even

Re: auto_now, auto_now add -- good or bad?

2011-07-15 Thread Andre Terra
> I'll give a weak vote for C: They can be, and presumabley have been, made > to > work correctly, in a peer reviewed setting, by folks with significant > experience, > so having the less experienced noob implement his own is a little like > saying > that you should implement your own encryption sc

Re: auto_now, auto_now add -- good or bad?

2011-07-15 Thread Bill Freeman
On Fri, Jul 15, 2011 at 12:44 PM, Andre Terra wrote: > Shawn, > > > Chalk one up for option A. > > I never, ever, ever, use them and they can get dropped for all I care, > considering how easy they are to implement "manually". > > They are also my go-to example for teaching new users how to modify

Re: auto_now, auto_now add -- good or bad?

2011-07-15 Thread bruno desthuilliers
On 15 juil, 18:22, Shawn Milochik wrote: > A discussion broke out in our office today about using these features, > because there are blog posts[1] bashing them and a comment by JKM > saying they should go away[2]. > > It seems that all of the arguments against are based on the fact that > there w

Re: auto_now, auto_now add -- good or bad?

2011-07-15 Thread John DeRosa
On Jul 15, 2011, at 9:22 AM, Shawn Milochik wrote: > Considering these facts, I'm wondering what the consensus is in the community: > >A. They're still there because they're too annoying to deprecate > or just not important enough to spend time on. > >B. They're useful shortcuts and thei

Re: auto_now, auto_now add -- good or bad?

2011-07-15 Thread Andre Terra
Shawn, Chalk one up for option A. I never, ever, ever, use them and they can get dropped for all I care, considering how easy they are to implement "manually". They are also my go-to example for teaching new users how to modify their model's save method and I believe the shortcuts only add "mag

auto_now, auto_now add -- good or bad?

2011-07-15 Thread Shawn Milochik
A discussion broke out in our office today about using these features, because there are blog posts[1] bashing them and a comment by JKM saying they should go away[2]. It seems that all of the arguments against are based on the fact that there were bugs in the past (links in the comments of the bl