Allow session serializer key in config.session_store #13692
I like @koz' suggestion.
On Tue, Jan 21, 2014 at 2:04 PM, Michael Koziarski <email@example.com
So maybe it would be better to enable both options. If symbol is passed, it will try to find it in
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.