method

parse

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: SerializedCookieJars
parse(name, dumped, force_reserialize: false, **) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 594
        def parse(name, dumped, force_reserialize: false, **)
          if dumped
            begin
              value = serializer.load(dumped)
            rescue StandardError
              return
            end

            self[name] = { value: value } if force_reserialize || reserialize?(dumped)

            value
          end
        end
Register or log in to add new notes.