Hi Daniel

Sorry, I realise it's been a while. If possible, can you give me a  
rundown of your schema, version of Rails, TS and Sphinx, how TS is  
installed, and I will try to re-create the issue on my machine.

-- 
Pat

On 13/07/2009, at 7:25 AM, Daniel Vartanov wrote:

>
> Pat,
>
> Thanks for fast reply. Unfortunately, I get the same error even if I
> add data into database.
>
> class Parent < ActiveRecord::Base
>  belongs_to :project
>
>  define_index do
>    has project_id
>  end
> end
>
> Task.create! :taskable => Parent.first
>
> I still have the following in my xxx.sphinx.conf:
>
> source task_core_7
> {
>  ...
>  sql_query = SELECT ..., `tasks`.`project_id` AS `project_id`, ...
> FROM `tasks` ...
>  ...
> }
>
> I even tried to delete all tasks with 'projectless' taskables, but it
> did not help. Where should I look further to resolve the issue?
>
> Thanks in advanvce for further help,
> Daniel
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to