mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b23ffd0dac
MessageEncryptor has :serializer option, where any serializer object can be passed. This commit make it possible to set this serializer from configuration level. There are predefined serializers (:marshal_serializer, :json_serialzier) and custom serializer can be passed as String, Symbol (camelized and constantized in ActionDispatch::Session namepspace) or serializer object. Default :json_serializer was also added to generators to provide secure defalt. |
||
---|---|---|
.. | ||
active_support | ||
active_support.rb |