My desired outcome is something like this:

```
{date: 12/02/2014, minutes: 36}

```

I'm scraping with Nokogiri using:

```
dates = doc.css('td:nth-child(3)')
minutes = doc.css('td:nth-child(10)')

```

Then I do some filtering and pushing results into arrays:

```
dates.each do |x|
 if x.text.length == 10
     date_array << x.text
 end
end

minutes.each do |x|
 minutes_array << x.text
end

```

How can I zip these two arrays together to create my desired outcome?

i've tried something like this, but it's not quite right (gives me {"2013-10-29"=>"32:14"} )

```
result = Hash[date_array.zip(minutes_array)]

```

or even something like this:

```
 result = Hash[date_array.zip(minutes_array).map {|d, m| {:date => d, :minutes => m}}

```

but i get this error: wrong element type Hash at 163

i've also tinkered with .flatten but to no avail. Can anybody help?