# Doofus - cookies

**URL:** <https://www.ruby-forum.com/t/doofus-cookies/140538>\
**Category:** Rails\
**Created:** [June 16, 2008, 12:39am UTC](https://www.ruby-forum.com/t/doofus-cookies/140538 "2008-06-16T00:39:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [June 16, 2008, 12:39am UTC](https://www.ruby-forum.com/t/doofus-cookies/140538/1 "2008-06-16T00:39:13Z")

</div>

ugh, somedays i can be really overtaxed, worked out why cookies weren’t  
working, had the code in the controllers (server-side), so switching the  
cookie handler code over to the views (client-side) soon got the cookies  
to save…

cookies[:t\_id] = @myteam.id.to\_s

learning ZenTest at the moment to build test models to help me, probably  
a good thing.

all the best,
