0
セッションのmem_cache_storeに切り替えたアプリのアップデートを公開しました。直ちに、フォームへのすべての投稿がActionController :: InvalidAuthenticityToken例外をスローしました。私は2.3.9でこれに問題があったと理解していますが、私たちは2.3.10です。私のフォームのすべての投稿でActionController :: InvalidAuthenticityTokenを取得するのはなぜですか?
production.rbで設定の変更がある:私は何か間違ったこと
require_library_or_gem 'memcache'
config.action_controller.session_store = :mem_cache_store
config.action_controller.session = {
:secure => true,
:cache => MemCache.new('our.memcache.host', :namespace => 'rack:session')
}
アム?