开发者

Rails3 CookieOverflow

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜