Example of ActiveRecord compatible filter.