Useful tools to help construct database queries with ActiveRecord and Arel.