Rails: Using greater than/less than with a where statement Rails: Using greater than/less than with a where statement ruby-on-rails ruby-on-rails