I am using activerecord 2.1.0 and mysql,and with mysql 2.7 driver. I have seen that when I use update_attributes,the date value have a strange action. Think we have a table Tests with id int, dt datetime and when I use, a[:dt] = "20081128" test = Test.new test.update_attributes(a) it ran ok, but when I set the date value to "31000101" the dt had been set to NULL. anyone have same problem? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---