Christian Niles wrote: > I managed to get this working, after following a few breadcrumbs. Thanks for > the kick in the right direction. > The solution I came upon was to provide :type => :multi to the attribute > definition, like so: > > has connection_ids, :type => :multi > > I don't remember seeing this documented anywhere. I found it by tracing > through the source for the #has method, which eventually led me to > Attribute#to_sphinx_clause, which gave me the answer.
If you have time, it'd be great if you could fork Pat's github repo and publish a patch that adds documentation for this option. I certainly didn't know about it! -- James Healy <jimmy-at-deefa-dot-com> Mon, 09 Mar 2009 17:18:26 +1100 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
