hello all.
i hope someone here can help me out. i really don't understand haw to do
this.
i have a hash like this:
"movies"=>{
"title"=>["ciccio", "test", "ciccio panza"],
"id"=>["3", "4", "1"],
"description"=>["1", "", "hey?"],
"insert_date"=>["2005-10-19", "2005-10-20", "2005-10-18"]
}
and i wold like to get 3 hashes like tese:
first hash:
"movie"=>{
"title"=>"ciccio",
"id"=>"3",
"description"=>"1",
"insert_date"=>"2005-10-19"
}
second hash:
"movie"=>{
"title"=>"test",
"id"=>"4",
"description"=>"",
"insert_date"=>"2005-10-19"
}
and so on.
is this somehow possible?
thanks!