Displaying 1 result from an estimated 1 matches for "colour_id".
Did you mean:
color_id
2006 Mar 24
7
belongs_to relation busted....why?
Ok, been banging my head on this and just can''t figure it. Normally, any
table that has a belongs_to to another table you can easily access it
by:
table1.table2.field
And it works perfectly for one table I have. Let''s call it... tags. So,
I''ve got:
Tag -> has_many :blah_tags
Blah -> has_many :blah_tags
Blah_tag -> belongs_to :tag, belongs_to :blah
Ok, works