Displaying 1 result from an estimated 1 matches for "square_feet".
2006 Feb 28
0
Confusion with counter and single table inheritance
...NULL,
`free_area_ft` float default NULL,
`active` tinyint(3) unsigned default ''1'',
`flange_id` int(10) unsigned NOT NULL default ''0'',
`order_id` int(10) unsigned default NULL,
`quantity` int(10) unsigned NOT NULL default ''1'',
`square_feet` float default ''0'',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
controller code
def create
@job = Job.find(session[:job])
@type = @params[:vent][:type]
case @type
when "Rectangular"
@vent = Rectangular.new(@params[:vent])...