Displaying 2 results from an estimated 2 matches for "worked_on".
2006 Apr 28
5
Newbie: using date-picker
Finally found a nice date chooser script
(http://projects.exactlyoneturtle.com/date_picker), but am a little
confused how to implement it.
So I put this where I need the date picker:
<a id="_name_link" href="#"
onclick="DatePicker.toggleDatePicker(''name'')"
class="demo_link">[ choose date ]</a>
<div
2006 Mar 21
3
Newbie - ActiveRecord relationships
...IMARY KEY (`id`)
) TYPE=InnoDB AUTO_INCREMENT=1 ;
CREATE TABLE `logs` (
`id` int(4) NOT NULL auto_increment,
`user_id` int(4) NOT NULL default ''0'',
`task_id` int(4) NOT NULL default ''0'',
`hours` decimal(8,2) NOT NULL default ''0.00'',
`worked_on` date NOT NULL default ''0000-00-00'',
`logged_at` datetime NOT NULL default ''0000-00-00 00:00:00'',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `task_id` (`task_id`)
) TYPE=InnoDB AUTO_INCREMENT=1 ;
CREATE TABLE `task_types` (
`id` int(4) NOT NUL...