[Nitro] Architectural question
Judson Lester
nyarly at gmail.com
Tue Mar 13 15:36:09 EDT 2007
So here's an upsetting little bug I stumbled across recently:
I've got model_object = ModelClass[1], right?
And elsewhere (different thread, process, different menthod, even),
someone deletes ModelClass[1].
If I model_object.reload I get a NoMethodError about nil, which is
less than informative.
I'd like for reloading a missing object to raise a useful exception,
but AFAICT, Og doesn't define an exception class. Any problems with
me starting the Og::Exception heirarchy?
--
Q: How does a hacker escape handcuffs?
A: Backslashes.
More information about the Nitro-general
mailing list