[Nitro] Architectural question
George Moschovitis
george.moschovitis at gmail.com
Tue Mar 13 17:04:31 EDT 2007
Ok, you can start the hierarchy, but I reserve the right to review
this and probably tweak it some time later ;-)
thanks,
George.
On 3/13/07, Judson Lester <nyarly at gmail.com> wrote:
> 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.
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>
--
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
More information about the Nitro-general
mailing list