Fjan
Not a member
Fjan's latest activity
Thursday, July 16 2009
-
Fjan created the ticket at 10:52 PMA cloned object does not get marked dirty:
obj = Person.first
obj2 = obj.clone
obj2.changed? # => falseThis might trip people up who limit expensive validation...
Monday, May 25 2009
-
Fjan created the ticket at 1:31 PMActionmailer deliberately removes the character set from attachments (line 71 of part.rb simply says: ctype_attrs.delete "charset")
While this may make sense fo...
Thursday, April 02 2009
-
Fjan created the ticket at 9:07 AMThis issue caused a serious database corruption for me. If you partially retrieve an object from the database with :select and then save it, any serialized attr...
Tuesday, March 24 2009
-
Fjan commented at 11:40 AMPawel: I agree, your suggestion is better than mine. I figured that changing reset_session() to not create a new session would break applications that do flash[...
Monday, March 23 2009
-
Fjan commented at 6:33 PMDominique: session.clear() clears the session but it does not delete it. reset_session() deletes the session but creates a new empty at the same time. So neithe...
-
Fjan commented at 2:39 PMDominique, I do not suggest that reset_session should not remove its old session_id, nor do I want to change its current definition.
My point is that there is c...
-
Fjan commented at 10:45 AMGood point. Perhaps an optional parameter to reset_session then? Something like: reset_session(create_new=true)
Sunday, March 22 2009
-
Fjan commented at 10:10 PMThe current behaviour is not entirely unuseful: I just ran into a case where I would like to really get rid of a session, and not create a new one, as the curre...
Wednesday, March 18 2009
-
Fjan commented at 4:23 PMAnother workaround is to simply replace reset_session with
session.clear
(you may need to lazy load the session with session[:load] if you haven't used it yet)