views:

54

answers:

1

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.

+1  A: 

Your syntax seems correct, though you may want to use a symbol for the attribute:

has :id

How is it not working, though?

pat