search for: all_struct

Displaying 1 result from an estimated 1 matches for "all_struct".

Did you mean: all_structs
2009 Mar 10
5
'unknow column error' when using include and associated table condition in find
...structures, then there must be a top_struct whose structure.id is 0. This is the association I specified. class Lexeme has_one :top_struct, :class=>''Structure'', :foreign_key=>''ref_id'', :conditions=>''structures.meta_id=0'' has_many: all_structs, :class=>''Structure'', :foreign_key=>''ref_id'' end class Structure belongs_to :lexeme, :class=>''Lexeme'', :foreign_key=>''ref_id'' end After these definition, say I want to find ''those lexemes that have str...