Rails sytax to find all records based on distict value in certain column
Item.select('distinct on (COLUMNNAME) *')