rails 3 cookies

Posted by ralph on Stack Overflow See other posts from Stack Overflow or by ralph
Published on 2011-01-02T02:51:22Z Indexed on 2011/01/02 2:53 UTC
Read the original article Hit count: 261

Filed under:
|

I have a simple app where users type in stuff in a text filed to get various results. I would like a feature where if a user enters something and then closes the browser tab, the next time they come, I can show them their previous/recent searches. This will persist even if they close the whole browser and open it again.

I believe this can be done by help of cookies. Are there some good rails3 gems for using cookies or any simple tutorial that could guide me in a direction?

© Stack Overflow or respective owner

Related posts about cookies

Related posts about ruby-on-rails3