Actually, a Person has no name column in the database. It only has a virtual attribute. Just now I tried to index the first_name only and it worked! Thanks.
That strange though, because I can swear that it worked before, or it didn't complain. Come to think of it, it was pretty stupid of me to think, since Sphinx is a sql search engine, that a Ruby virtual attribute would work. Thanks again! Ramon Tayag On Wed, Aug 5, 2009 at 4:24 AM, Pat Allan<[email protected]> wrote: > > Hi Ramon > > I've just added a HABTM join to my test suite for TS, and it works > fine. Which is doubly confusing, because it sounds like you've not > changed your indexing setup while upgrading TS, and I've not updated > the indexing code in a good while too. But, just to be absolutely sure > - there is a name column in the people table, yes? As opposed to > first_name and last_name or something like that... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
