I am am using DataMapper and Sinatra and I am trying to create a unique set of elements from a DataMapper entity property. I search the database for a collection of entries. These entries all have a "category" property. I would like to find an efficient way to make a new array of all unique category types.
thanks