I have found this question:
Cookie overflow in rails application?
And in accepted answer in punkt 3 there is this:
(App)::Application.config.session_store :cookie_store, :key => 'xxx'
How do I get this 'xxx' key?
Asked
Active
Viewed 1,107 times
0

Community
- 1
- 1

user2950593
- 9,233
- 15
- 67
- 131
1 Answers
0
Rails.application.config.session_options[:key]

Rubysmith
- 1,165
- 8
- 12
-
do I need to generate in manually? Why is it 'xxx' in the example and not `Rails.application.config.session_options[:key] ` ? – user2950593 Mar 02 '16 at 14:05