Displaying 1 result from an estimated 1 matches for "colour_tags".
Did you mean:
colour_tag
2006 Mar 24
7
belongs_to relation busted....why?
...t; has_many :blah_tags
Blah_tag -> belongs_to :tag, belongs_to :blah
Ok, works fine. Based on a blah_tag entry, I can go blah_tag.blah.name
(or whatever). No problem.
Substitute, an identical setup for say Colour, and bam. The whole thing
throws nils everywhere. I may have a big batch of valid colour_tags, but
try to go: colour_tag.colour => NIL!
I don''t get it. Identical table setups....identical code.... is colour
reserved? Do I need to restart servers or something (tried that...)? Am
I going crazy?
It makes no sense to me.
Thanks!
mm
--
Posted via http://www.ruby-forum.com/.