------art_345103_15877514.1158714384791
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 9/20/06, Yu Co <djhackebeil / yahoo.de> wrote:
>
> Hi all,
>
> I've the following:
> I defined two classes 'Super' und 'Sub' in two separate files that look
> like this:
>
> class Super < ActiveRecord::Base
> end
>
> class Sub < Super
> end
>
> After compiling 'Sub' I get the following error message "uninitialized
> constant Super (NameError)"
> Ruby doesn't consider 'Super' as a class but rather as a constant. Does
> anyone know how I can avoid this?
>
> Thanks in advance.
>
> Regards,
> yussibaer
>
>
I think it's telling you you can't call your class Super.  Just choose a
different name for it.

------art_345103_15877514.1158714384791--