diff options
author | Willem van Bergen <willem@vanbergen.org> | 2011-09-15 08:28:53 -0400 |
---|---|---|
committer | Willem van Bergen <willem@vanbergen.org> | 2011-09-15 08:28:53 -0400 |
commit | bffaa888ac4a1ee60a9f93650b9184a9402eff09 (patch) | |
tree | 7ac10c00a49fb93ce5ae4e317fc62e6d9c935439 /actionpack/README.rdoc | |
parent | da7f0426ec7b0aa053489633c2a8a3da6423654f (diff) | |
download | rails-bffaa888ac4a1ee60a9f93650b9184a9402eff09.tar.gz rails-bffaa888ac4a1ee60a9f93650b9184a9402eff09.tar.bz2 rails-bffaa888ac4a1ee60a9f93650b9184a9402eff09.zip |
Custom serializers and deserializers in MessageVerifier and MessageEncryptor.
By default, these classes use Marshal for serializing and deserializing messages. Unfortunately, the Marshal format is closely associated with Ruby internals and even changes between different interpreters. This makes the resulting message very hard to impossible to unserialize messages generated by these classes in other environments like node.js.
This patch solves this by allowing you to set your own custom serializer and deserializer lambda functions. By default, it still uses Marshal to be backwards compatible.
Diffstat (limited to 'actionpack/README.rdoc')
0 files changed, 0 insertions, 0 deletions