search for: 18939f80

Displaying 1 result from an estimated 1 matches for "18939f80".

Did you mean: 1839180
2007 May 24
1
Search scoping in acts_as_ferret
Hello, I am exploring acts_as_ferret, and the first question that pops to mind is scoping, i.e. how to restrict searches in various ways. For example, I have a Post model with title, content, and user_id as attributes, and I want users to be able to search through their own posts only. Normally, of course, I would do Post.find(:all, :conditions=>["user_id=?", current_user],