I’ve the following:
I defined two classes ‘Super’ und ‘Sub’ in two separate files that look
class Super < ActiveRecord::Base
class Sub < Super
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.