Assign nil to datetime?

Hi Al,

Al Evans wrote:

I want to assign nil to a datetime field {...]

However, when I say...
     n.expires = nil
n.expires doesn't actually get set to nil,
either in unit testing or in "real life".

If I do the same thing in the console, it seems to work:

What does your sql declaration for the field look like? Does it explicitly allow nil values? Just guessing here...

Best regards,