cookies multiple values

Might need more information. If you are looking to store multiple values (e.g., an array) you could convert it to a string for the value of the cookie:

cookies[:somename] = some_array.join(“:”)

some_array = cookies[:somename].split(“:”)

I am trying to create a list of values in a cookie, to avoid creating more cookies. And then invoke a single value, for example: Cookies [: evidence] = {: value1 = 'one': value2 = '2': value3 = > '3'}

and then invoke cookies [: tests: value1] but this syntax is wrong.

Again I would just serialize the value.