Find_by_contents not returning SearchResults?

The acts_as_ferret documentation says find_by_content returns an
instance of SearchResults, but I see this error when I try to use the

undefined method `total_hits’ for []:Array

Here is the link to the documentation:

What’s wrong?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs