I think we could also do `where("LOWER(code) = ?", normalized_coupon_code)`?