Displaying 1 result from an estimated 1 matches for "hmbtm".
Did you mean:
habtm
2005 Aug 15
0
RE: has_many_belongs_to_many insert issues [CLOSED]
...EArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Cherruel,
Gildas
Sent: Monday, August 15, 2005 1:13 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails] has_many_belongs_to_many insert issues
Hi,
I have an hmbtm relationship setup like:
class Catogory < ActiveRecord::Base
has_many_belongs_to_many: products
end
class Product < ActiveRecord::Base
has_many_belongs_to_many: categories
end
With the usual SQL tables (i.e., categories, products,
categories_products).
NOTE: I AM USING MICROSOFT SQL S...