なんしかリロードしたらなおる
sessionを使うならapp/controllers/application.rbの protect_from_forgery # :secret => '乱数'を protect_from_forgery :secret => '乱数'にする