Oh. It's a bug. All my fault.

The underlying API is expecting :latitude_attribute,  
not :latitude_attr, as the key. Just pushing the fix out now, will  
probably take GitHub 15 minutes or so to have the new gem (v1.2.3)  
available.

Sorry for this - sloppy coding on my part.

-- 
Pat

On 30/07/2009, at 6:59 PM, Andrew Lippert wrote:

>
> Sorry - still had the geo search option off. Here's the output:
> {:longitude_attr 
> = 
> > 
> "lng 
> ", :longitude 
> = 
> > 
> -2.13505621250983 
> , :latitude=>0.830836414209719, :latitude_attr=>"lat"}
>
>
> On Jul 30, 10:57 am, Andrew Lippert <[email protected]> wrote:
>> Not a whole hell of a lot:  {}
>>
>> On Jul 30, 10:55 am, Pat Allan <[email protected]> wrote:
>>
>>
>>
>>> Well, it's progress, at least.
>>
>>> What does list.send(:client).anchor.inspect return?
>>
>>> --  
>>> Pat
>>
>>> On 30/07/2009, at 6:46 PM, Andrew Lippert wrote:
>>
>>>> list.send(:latitude_attr) does produce 'lat' in development as  
>>>> well.
>>
>>>> On Jul 30, 10:42 am, Andrew Lippert <[email protected]> wrote:
>>>>> Bingo - I'm now able to reproduce the problem on development.  
>>>>> Dumb,
>>>>> dumb, dumb. But a good step forward. I get the same error as on
>>>>> production now.
>>
>>>>> On Jul 30, 10:30 am, Pat Allan <[email protected]> wrote:
>>
>>>>>> Okay... looks like you're using an old (pre 1.2) version of  
>>>>>> Thinking
>>>>>> Sphinx on your development machine. Which is frustrating. I'd  
>>>>>> much
>>>>>> rather it be the other way around. Can you update dev, see if you
>>>>>> get
>>>>>> the error locally?
>>
>>>>>> --
>>>>>> Pat
>>
>>>>>> On 30/07/2009, at 6:28 PM, Andrew Lippert wrote:
>>
>>>>>>> In production, it actually returns a result:
>>
>>>>>>> lat
>>
>>>>>>> A
>>
>>>>>>> On Jul 30, 10:16 am, Pat Allan <[email protected]>  
>>>>>>> wrote:
>>>>>>>> Can you get the value of list.send(:latitude_attr)?
>>
>>>>>>>> --  
>>>>>>>> Pat
>>
>>>>>>>> On 30/07/2009, at 6:09 PM, Andrew Lippert wrote:
> >


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