From: "Jesús Gabriel y Galán" Date: 2010-09-07T01:39:55+09:00 Subject: Re: Read cookie 2010/9/6 Pål Bergström : > Jesús Gabriel y Galán wrote: > >> That should read Enumerable#find >> > > If you understand what I'm trying to do, do you think the use of > Mechanize is a good or bad idea? Is it better to use the instance > variable to send the variable from controller to the model? > > (As you said, probably more a Rails question. But now I'm here :-) ) I answered what I did in case you were really looking after calling a website and retrieving the cookie from the response. It seems that I misunderstood your question, since it's obvious from the following conversation that you were talking about retrieving the cookie from a client's request. I don't know much about Rails, Brian and others have given advice regarding that. Now that your question is clear (reading a cookie from the request and using it around controllers and models) you won't need Mechanize for anything. Jesus.