Displaying 1 result from an estimated 1 matches for "crade_id".
Did you mean:
grade_id
2007 Nov 13
4
has_and_belongs_to_many between the same model
...e]
has_many :jewels
has_and_belongs_to_many :crates
[/code]
Now i have to create the join table "crates_crates" but i really have no
idea on how to specify the first index is the father-crade index while
the second is the child-crade index. Btw, my "crades" table has a
"crade_id" column, is this right, or should i remove it since i use a
join table?
Thanks!
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To...