Displaying 1 result from an estimated 1 matches for "find_user_and_messag".
Did you mean:
find_user_and_messages
2008 Jun 13
1
TypeError (can't modify frozen hash) - Production Mode Only
...ad login validation issues, and now it
seems that my PM system is broken.
If a user enters a non-existent username as a recipient of a message, I
now get a 500 internal server error. In the log, I get: TypeError
(can''t modify frozen hash) at line 108. Line 108 is "@message.sender =
find_user_and_messages.get_user_id.to_s", which shouldn''t even be
executing (its also a poorly named method, but thats not the point). In
development mode, if a user didn''t exist, the while loop would recognize
that, and simply return errors. Now it fails to do so. All my other
validations on...