Why are you explicitly setting the types on the attributes? Are they  
not boolean columns?

On 19/10/2008, at 4:48 PM, Piotr Sarnacki wrote:

>
> Hi!
>
> I've added 2 attributes to my index:
> has virtual, :type => :boolean
> has active, :type => :boolean
>
> I've got error: "NoMethodError: undefined method `to_f' for
> true:TrueClass" in riddle/lib/riddle/client/filter.rb
>
> I've added to_f method to true and false (http://pastie.org/295633)
> and it works now, but it's obviously not the best solution :)
>
> Am I missing something?
>
> Thanks,
> Peter
> >


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