Hello,

I remember reading about how to do this at some point, but I don't actually remember how to do it. If I have an object "order" that contains {noodle type, noodle date, noodle price}, how would I iterate through all existing "orders" and place all noodle types into an array, non repeating? Something like this:

Code:
    @orders = Order.find(:all)
    @types = @Orders.each.select(:type, :no-repeat)
     
    #@types => {wheat, white, corn, wet}  even if there are a bunch of wet noodles
Thank you