Rails: Using greater than/less than with a where statement October 17, 2022 by Tarik Try this User.where("id > ?", 200)