Displaying 1 result from an estimated 1 matches for "vents_count".
Did you mean:
events_count
2006 Feb 28
0
Confusion with counter and single table inheritance
...f :width
end
class Rectangular < Vent
validates_numericality_of :height
end
table declarations
CREATE TABLE `jobs` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` char(40) NOT NULL default '''',
`user_id` int(11) NOT NULL default ''0'',
`vents_count` int(11) default ''0'',
`created_at` timestamp NOT NULL default CURRENT_TIMESTAMP on update
CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL default ''0000-00-00 00:00:00'',
`total` decimal(12,2) unsigned default ''0.00'',
`address_id`...