Displaying 1 result from an estimated 1 matches for "explicitlt".
Did you mean:
explicitly
2006 Mar 10
0
Session management changed in EdgeRails?
...e authenticated user object (User model) in the session. This
has worked well up until upgrading to EdgeRails. What I do is set @user
= session[:user] in my controllers and then access the various @user
associations such as @user.posts. In 1.0, the session data would
remained unchanged unless I explicitlt made change to a @user property,
but in Edge, every association I reference is copied into the session
and becomes dissociated from the database. For example,
@user.posts.delete(post) only removes the post from the session. If i
delete it from teh database directly, I have to reload the user ob...