RailsCasts Pro episodes are now free!

Learn more or hide this

Philipp Frank's Profile

GitHub User: philippfrank

Site: http://www.philippfrank.de

Comments by Philipp Frank


Okay: problem was very n00bey :D I accidentally removed the csrf meta token from my layout. That caused the session reset.


Hey guys, great cast. It totally works as long I don't use my authentication filter in the controller. That before_filter just checks if session[:user_id] exists (derived from "Authentication from scratch"). It redirects to an info page in the latter case that no user is signed in.

So I am using best_in_place from a signed in state but what happens is that the changes are not propagated and additionally the session seems to be reset since I am logged out then.

Anyone an idea?