How to use open_uri with cookies?

Hi,

I need to send a request with cookies info.
I tried
open(url,"Cookie" => cookies)

it gives me

NoMethodError Exception: undefined method `strip' for
#<ActionController::CookieJar:0x1344a558>

Can anyone give me some help?
Thx in adv!

···

--
Posted via http://www.ruby-forum.com/.