William Flanagan wrote:
>
> When in console, I can search for contents, and find results. For
> example, when I search for "spam" it "finds" 7 results.
>
> => #<FerretMixin::Acts::ARFerret::SearchResults:0x2693934
> @total_hits=7, @results=[]>
>
I got the similar problem here:
>> SearchController.new.full_text_search("*","products",:page => 1)
#<FerretMixin::Acts::ARFerret::SearchResults:0x46553d4 @total_hits=7,
@results=[]>
=> [7, #<FerretMixin::Acts::ARFerret::SearchResults:0x46553d4
@total_hits=7, @results=[]>]
>>
Any ideas how to debug it? Why it is returning 7 here too?
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk