Using cookies in Ruby on Rails
The cookies object looks like a hash, but it isn't really.
# this sets a cookie
cookies[:key]="value"
# this does not retrieve a cookie
value = cookies[:key]
# but this does
value = cookies["key"]
Every culture has a burrito.
<< Home