On Nov 26, 2007, at 9:40 PM, Michael Koziarski wrote:
I would argue this is not an issue of "most" or even "standard" -- mostcode on the planet is probably written with camelCase names -- which doesn't seem to have much impact on Rails' opinion.The real problem is that you *can't* retrieve that data again. Rails needs to coerce those values into a Date or Time, neither of which accept 0000-00-00. So we can't support it when reading data, there's not much point letting you write it. After all, you can't construct the time object to save in the first place.
What about 0? Then the OP could test with .zero?
--
Jordi
smime.p7s
Description: S/MIME cryptographic signature
