Creating a subset of a model
I have a model in Rails representing stores class Store < ActiveRecord::Base A boolean field "draft" in this model determines if the record is active or if it's just a draft. I'm using acts_as_xapian to do searches in my application and it receives a model where the search should be performed. This part is working. However, I only wan...