Displaying 2 results from an estimated 2 matches for "has_many_belongs_to_mani".
Did you mean:
has_many_belongs_to_many
2005 Aug 15
0
RE: has_many_belongs_to_many insert issues [CLOSED]
Found the issue.
In the association table (categories.products) it is very important to
use lowercase column names.
I.e, product_id and category_id.
I had Product_id and Category_id in SQL....
Gildas
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Cherruel,
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