Thinking sphinx, has_one association

Posted by homakov on Stack Overflow See other posts from Stack Overflow or by homakov
Published on 2010-05-02T09:58:51Z Indexed on 2010/05/04 4:38 UTC
Read the original article Hit count: 278

Filed under:
|
|
|
|

Hi, anybody, please, help me with Thinking_sphinx configuration. I have table profile1, which has_one profile2 and profile3. So i just need to index them both, but i can't. I tried

indexes name indexes profile2(:name), :as => :profile2_name indexes profile3(:name), :as => :profile3_name has id

What i m doing wrong? Thanks.

© Stack Overflow or respective owner

Related posts about rails

Related posts about ruby