Never mind, I forgot an association in the index declaration ...

:(

On Mar 11, 3:41 pm, Julien Palmas <[email protected]> wrote:
> Hi,
>
> My Firm model has the following define_index block
>
>   define_index do
>     indexes adresses.region.name, :as => :region
>   end
>
> I get this error with rake ts:index
>
> ERROR: index 'firm_core': sql_range_query: Unknown column 'firms.name'
> in 'field list' (DSN=mysql://root:*...@localhost:3306/foo_development).
>
> I've also tried this, but with no more success:
>
>   define_index do
>     indexes adresses.region(:name), :as => :region
>   end
>
> Can anyone help ?
--~--~---------~--~----~------------~-------~--~----~
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