Displaying 1 result from an estimated 1 matches for "birthday_search".
2007 May 06
0
MySQL adapter bug? Date col being set to NULL when default is 0000-00-00
...ever, when I use an active record to update the other column, my
update fails because ActiveRecord is submitting "NULL" for the date
column in question.
ActiveRecord::StatementInvalid (Mysql::Error: Column was set to data
type implicit default; NULL supplied for NOT NULL column
''birthday_search'' at row 1: UPDATE vb_user SET `birthday_search` =
NULL,
What is happening here? This seems like an obvious bug, no?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To p...