Cookie Rails wrote:
> 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 [: prove] = {: value1 = 'one': value2 = '2': value3 = > '3'}
>
> and then invoke
I need a cookie because I have store different sessions and use them in
different actions of the controller,
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails:
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.
--
Posted via http://www.
Hello.I want to create a cookie with multiple values and call them
individually. How it works?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
4 matches
Mail list logo