[refactor] use rails4 where.not