Hello, I want to create a cookie that is a serialized Hash. before_filter :cookie_criteres def cookie_criteres cookies[''criteres''] = Hash.new if cookies[''criteres''].nil? end But when, later in a view I want to retrieve the cookies[''criteres''] Hash Rails returns a CGI::Cookie instance object... I don''t undestand how to do next - Should I cast this to a Hash (how ?) ? Is something else needed to serialize the Hash properly ? Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---