class ActionDispatch::Cookies::SignedCookieJar
def []=(name, options)
def []=(name, options) if options.is_a?(Hash) options.symbolize_keys! options[:value] = @verifier.generate(serialize(name, options[:value])) else options = { :value => @verifier.generate(serialize(name, options)) } end raise CookieOverflow if options[:value].bytesize > MAX_COOKIE_SIZE @parent_jar[name] = options end