diff --git a/actionpack/lib/action_dispatch/middleware/cookies.rb b/actionpack/lib/action_dispatch/middleware/cookies.rb index 0ba4bc7782b38..2b3538af255c1 100644 --- a/actionpack/lib/action_dispatch/middleware/cookies.rb +++ b/actionpack/lib/action_dispatch/middleware/cookies.rb @@ -48,7 +48,8 @@ def cookie_jar # * :domain - The domain for which this cookie applies so you can # restrict to the domain level. If you use a schema like www.example.com # and want to share session with user.example.com set :domain - # to :all + # to :all. Make sure to specify the :domain option with + # :all again when deleting keys. # # :domain => nil # Does not sets cookie domain. (default) # :domain => :all # Allow the cookie for the top most level