Re: help with exceptions

Frederick Cheung
Wed, 22 Apr 2009 14:45:17 -0000

On Apr 22, 3:19 pm, cutelucks Ms
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:

> when i execute this, i always get the output as
> Hello
> nil
>
> I am unable to understand why the NonExisting is not calling the
> nameerror.
> can someone help me with this.
>
presumably because calling foo= is raising a NoMethodError because
there is no such method.

Fred
> Thanx in advance.