Displaying 1 result from an estimated 1 matches for "javathink".
Did you mean:
javathing
2006 Apr 12
0
class attributes and thread safety
...ated_by and
updated_by attributes using the value of User.current_user. For some
reason I can imagine a case where multiple users are logged in at the
same time and saving objects, and the value of User.current_user would
be indeterminate.
It could be that I''m applying too much "Javathink" because this kind of
class attribute would be a problem in Java (of course its more
complicated with class loaders and such). But I can''t help but think
that ruby may have some difficulty in this situation, too.
The answer to this question may depend upon what web server is used...