rails/rails — pull request #6084 by brainopia (2012-04-30 13:25:49+00:00)
Title: Support cookie jar options for all cookie stores

It fixes #3047, #2483.

The bug can be easily reproduced:
```
rails new foobar
cd foobar
rails generate scaffold post
rake db:sessions:create db:migrate
sed -i '' "s/cookie_store.*/active_record_store, key: '_foobar_session', domain: :all/" config/initializers/session_store.rb
rails server # open http://localhost:3000/posts
```

Also I've provided failing test.

This patch introduces support of domain option for all stores not only cookie store.