search for: reintializes

Displaying 2 results from an estimated 2 matches for "reintializes".

Did you mean: reinitializes
2006 Jul 07
0
reintializing a model object to invoke model callbacks
Any thoughts on this one guys? How do I reinitialize an already initialized model object in my controller in one shot rather than manually initializing each attribute? In other words, I do a find like so: user = User.find(id) # Now I want to reinitialize the user object by using the params["user"] but I''d like to intialize it in a way that calls my model''s equality
2001 Mar 28
2
arc4randomstir() in OpenSSH
I'm trying to understand the rational behind the arc4random() and arc4random_stir() functions in the OpenSSH source tree. On a system that has a good random number generator, say an in kernel /dev/random what extra functionality is this stuff providing ? Would it be acceptable to replace the calls to arc4random() with reading from /dev/random and drop the arc4random_stir() all together ?