Small DSL to create ActiveRecord attribute predicates without writing SQL.