Okay, so this could be our problem - for some reason, it's saying price is a single integer, when it's actually an array of integers. The SQL is correct, but the attribute definition is not.
Can you try changing the attribute definition to: has products.price, :as => :price, :type => :multi Then run rake ts:rebuild and see if that helps matters? That said, it *should* work without this... which version of Thinking Sphinx are you using? And which version of Rails? Cheers -- Pat On 16/12/2010, at 1:45 AM, Matthew Hinton wrote: > Here is the gist of my publication_core_0 config section. > > https://gist.github.com/742017 > > > On Wed, Dec 15, 2010 at 12:18 AM, Pat Allan <[email protected]> wrote: > Hmm, I guess let's start with the publication_source_0 definition in the > generated Sphinx configuration file... can you put that in a gist or pastie > for us? Make sure you remove your database password when doing so. > > Cheers > > -- > Pat > > On 15/12/2010, at 12:42 AM, Matthew Hinton wrote: > > > Price is an integer so I really don't know what is going on. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Thinking Sphinx" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > > http://groups.google.com/group/thinking-sphinx?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > > > > > -- > Matthew Hinton > [email protected] > http://www.myverbaloutlet.net > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
