Hi Tim
I'm using the User object as a key precisely because it's unique! Usernames will inevitably overlap. I considered email addresses, but if a user on the system changes their email address, it's an extra operation to update the Dictionary; with the User object, everything remains the same.
Nevertheless, thanks for your reply! ;-)
Amir
On Thu, 30 Dec 2010 10:22:59 -0800 Tim Ziebart timothy@churchmilitant.org wrote:
I don't understand what you are trying to accomplish. I would have
expected the key to be a unique identifier such as username, email etc. Then you would associate with the key a newUser. So, (newSession root at: 'users') at: 'Charlie' put: newUser.
magma@lists.squeakfoundation.org