merge array of hashes where condition is met (ruby) : In RUBY, 
I have the following:

    array = [{:date=>Sun, 10 Aug 2014, :slots=>[]},
     {:date=>Mon, 11 Aug 2014,
      :slots=>["9:30", "10:00", "10:30", "11:00", "11:30", "12:00"]},
     {:date=>Fri, 15 Aug 2014,
      :slots=>["9:30", "10:00", "10:30", "11:00", "11:30", "12:00"]},
     {:date=>Sat, 16 Aug 2014,
      :slots=>["9:30", "10:00", "10:30", "11:00", "11:30", "12:00"]},
     {:date=>Fri, 15 Aug 2014, :slots=>["14:30", "15:00"]}]

I want to merge / add :slots where :date is equal

     final = [{:date=>Mon, 11 Aug 2014,
      :slots=>["9:30", "10:00", "10:30", "11:00", "11:30", "12:00"]},
     {:date=>Fri, 15 Aug 2014,
      :slots=>["9:30", "10:00", "10:30", "11:00", "11:30", "12:00", "14:30", "15:00" ]},
     {:date=>Sat, 16 Aug 2014,
      :slots=>["9:30", "10:00", "10:30", "11:00", "11:30", "12:00"]}]

Thanks!