search for: competency_in_service_on

Displaying 1 result from an estimated 1 matches for "competency_in_service_on".

2006 Jan 04
5
How do I set the default value for date fields?
...;'s sql syntax). So it looks like I need to code something, but I''m unsure to put that in the model or in the view (or if this is a form helper deal). Any help is appreciated. Thank you in advance! CREATE TABLE volunteers ( ......other columns.... birthdate date default NULL, competency_in_service_on date NOT NULL default ''0000-00-00'' ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ; -- Posted via http://www.ruby-forum.com/.