Building greater than query in ActiveRecord Ruby Ruby on Rails by Matt Polito Building less than query in ActiveRecord Ruby Ruby on Rails by Matt Polito