Rails shared sessions with activerecord

后端 未结 4 1833
时光取名叫无心
时光取名叫无心 2020-12-29 16:26

I\'m currently using the default cookies as my single sign on (SSO) but some users are getting strange errors after I push an update. I\'m considering moving to active recor

4条回答
  •  长发绾君心
    2020-12-29 16:46

    The rails docs for the session configuration(http://api.rubyonrails.org/classes/ActionController/SessionManagement/ClassMethods.html#M000312) says that these are the only options: http://api.rubyonrails.org/classes/ActionController/Base.html#M000523. Since an option for which database to use isn't listed, it probably doesn't exist.

提交回复
热议问题