Displaying 2 results from an estimated 2 matches for "has_many_belongs_to_many".
Did you mean:
has_many_belong_to_many
2005 Aug 15
0
RE: has_many_belongs_to_many insert issues [CLOSED]
...essage-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@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_product...
2008 Mar 10
1
is there such an association as has_and_belongs_to_one?
sorry - just had to post my colleague''s non-serious question!
(imagine the plugin;)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email