search for: _partials

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

Did you mean: partials
2006 Jun 30
2
how to HABTM with STI ??
...class Accessory < Item end I have created part and accessory controllers/crud views and have attempted to do the following but it doesn''t appear that the HABTM relationship is in place. >From the products_controller I attempt the following: #populate collections for _partials @parts = @product.parts.find_all @accessories = @product.accessories.find_all But get the following error. Undefined method `parts'' Any suggestions? Regards, Adam ------------sql script # ---------------------- # create tables # ---------------------...