Displaying 1 result from an estimated 1 matches for "professionalfunction".
2006 Sep 13
1
insert a date like 2006-00-00
Mysql makes possible to insert a date like 2006-00-00. And i want to do
that, if my client dont knows the month he puts it to zero.
But when i do something like this:
fp = ProfessionalFunction.new(:people_id => 5, :start => "2006-12-0")
fp.save
it puts a NULL value in the start field (type date).
suggestions??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...