Hello again,

I haven't had the time to look at all the details yet. I've done some  
testing on single tables and it works really good.
The problem is that I have a really really BIG sql query at the  
moment which I run through find_by_sql so it will take me some time  
to get that one working with find_by_contents.

I'll post any progress to this list.

Cheers,
henrik

27 feb 2007 kl. 05:50 skrev caman:

> Were you able to figure this out?
> Would you share your approach or code?
> send me an email to aboxfortheotherstuff at gmail dot com
> Thanks
> Henrik Zagerholm wrote:
>> 23 feb 2007 kl. 11:06 skrev Jens Kraemer:
>>
>>>>
>>>
>>> Model.find_by_contents(query, {}, { :conditions =>
>>> ["... ], :include =>... })
>>>
>>> or just use find_id_by_contents to only retrieve id, model class and
>>> score for each hit, and build your own AR query from that.
>>>
>> Hmm this is really interesting. It looks like this is exactly what I
>> want. I'll give it a try and see how it goes. Thanks for the info!
>>
>> Cheers,
>> henrik
>
>
> -- 
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ferret-talk

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to