Re: Can not find superclass

After compiling ‘Sub’ I get the following error message
constant Super (NameError)”

I believe your problem is that, for each request, rails only loads the
appropriate controller files. You need to put a ‘require’ or ‘load’ (or
some rails-specific require command) in your second file to ensure that
the controller file that you define Super in is being loaded (causing
Super to be defined) before you attempt to use it.