session をデータベースに格納する設定にすると protect_from_forgery 関係でエラーが出る

bogenbauerbogenbauer のブックマーク 2008/01/17 20:44

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Active_record_store sessions does not pass a :secret to #protect_from_forgery in Rails 2.0.0 Preview

    After switching to active_record_store to host sessions, I now get the following errors: ActionController::InvalidAuthenticityToken in Pages#edit Showing app/views/pages/edit.html.erb where line #5...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう