Re: allow_null with typecast

2008-05-26 Thread Jeremy Evans
On May 25, 11:00 am, dusty [EMAIL PROTECTED] wrote: I have a timestamp field in my model that I want to allow null on, I'm not sure how to do this. Right now I have it with :allow_null = true in my set_schema declaration. However, when I set that attribute to nil and save the record, I get

Re: allow_null with typecast

2008-05-26 Thread dusty
Great, thanks! I was using sequel a while back and am now starting to get back into it. Excited about all these new changes. Its looking real good. -Dusty On May 26, 11:21 am, Jeremy Evans [EMAIL PROTECTED] wrote: On May 25, 11:00 am, dusty [EMAIL PROTECTED] wrote: I have a timestamp

Re: allow_null with typecast

2008-05-25 Thread Farrel
On May 25, 8:00 pm, dusty [EMAIL PROTECTED] wrote: I have a timestamp field in my model that I want to allow null on, I'm not sure how to do this. Right now I have it with :allow_null = true in my set_schema declaration. Use ':null = true' instead. Farrel