method

commit

rails latest stable - Class: ActionDispatch::Cookies::SignedCookieJar

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

commit(options)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 553
        def commit(options)
          options[:value] = @verifier.generate(serialize(options[:value]))

          raise CookieOverflow if options[:value].bytesize > MAX_COOKIE_SIZE
        end