method
[]=
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
[]=(name, options)
public
Hide source
# File actionpack/lib/action_dispatch/middleware/cookies.rb, line 463 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].size > MAX_COOKIE_SIZE @parent_jar[name] = options end