开发者

Rails3 CookieOverflow

开发者 https://www.devze.com 2023-03-14 16:22 出处:网络
I am getting this error: ActionDispatch::Cookies::CookieOverflow In config/application.rb I have: config.session_store :active_record_store

I am getting this error:

ActionDispatch::Cookies::CookieOverflow

In config/application.rb I have:

config.session_store :active_record_store

There is no data being stored in th开发者_运维知识库e sessions table.

I am using RubyCAS-client with this code:

https://github.com/zuk/rubycas-client-rails

Am I doing something wrong to have the code stored in the database or is this code not setup to use active record store?


I figured it out, I was doing it in config/application.rb. When I changed it in config/initializers/session_store.rb it worked.

I don't know if this is completely right because I assume config/application.rb is the place it should be?

0

精彩评论

暂无评论...
验证码 换一张
取 消