ActionDispatch ::饼干:: CookieOverflow

时间:2016-03-02 13:18:27

标签: ruby-on-rails

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

1 个答案:

答案 0 :(得分:0)

Rails.application.config.session_options[:key]