Help on act_as_ferret

Hi,
My name is santoshkumar r Patil. I am using ferret for searching.
I am using mult_search for searching a query on multiple modal and there
are different conditions on different model.
EX
User.multi_search(search_query+" AND NOT is_deleted:1
“,[Program],{:limit=>limit,:offset=>offset})
And I have to condition “is_visible = true” on program model.

How can I modify above query.

Can we you INNER JOIN query in find_by_contents and in mult_search

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