aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/data_streaming.rb
diff options
context:
space:
mode:
authorGodfrey Chan <godfreykfc@gmail.com>2014-08-17 12:40:24 -0700
committerGodfrey Chan <godfreykfc@gmail.com>2014-08-17 12:41:42 -0700
commite158ee50e64e2ae2460cd26be53039922f588300 (patch)
tree9e0e90d3108c854d8989c5a78ca7c0ae53125c72 /actionpack/lib/action_controller/metal/data_streaming.rb
parent393e19e508a08ede0f5037bccb984e3eb252d579 (diff)
downloadrails-e158ee50e64e2ae2460cd26be53039922f588300.tar.gz
rails-e158ee50e64e2ae2460cd26be53039922f588300.tar.bz2
rails-e158ee50e64e2ae2460cd26be53039922f588300.zip
Use AS::JSON for (de)serializing cookies
Use the Active Support JSON encoder for cookie jars using the `:json` or `:hybrid` serializer. This allows you to serialize custom Ruby objects into cookies by defining the `#as_json` hook on such objects. Fixes #16520.
Diffstat (limited to 'actionpack/lib/action_controller/metal/data_streaming.rb')
0 files changed, 0 insertions, 0 deletions