标签: ruby-on-rails
我发现了这个问题: Cookie overflow in rails application? 在punkt 3中接受的答案中有这样的: (App)::Application.config.session_store :cookie_store, :key => 'xxx' 我如何获得这个'xxx'键?
(App)::Application.config.session_store :cookie_store, :key => 'xxx'
答案 0 :(得分:0)
Rails.application.config.session_options[:key]