use an activerecord scope instead!