Displaying 1 result from an estimated 1 matches for "billitem".
Did you mean:
bill_item
2007 Dec 10
10
Reading Hash/Array
..."net"=>"3:00"}
}
},
"id"=>"1"}
How can I read/process this data?
I am trying to do something like
params[:bill_item][:update].each do |item|
bill_item = BillItem.find(item[id])
bill_item.description = item[description]
bill_item.net = item[net]
bill_item.save
end
but of course the access to the hash is not correct.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Rub...