Displaying 1 result from an estimated 1 matches for "customclass".
Did you mean:
mycustomclass
2006 Feb 09
0
Extending ActiveRecord creates TypeError
Hi.
I have want to use the following arrangement: Model < CustomClass <
ActiveRecord::Base
My CustomClass has a bunch of code I want to be held in common to all
my models.
What happens however is that if I access a controller that uses
Model, it works. Then on the second view (hitting reload) I always get:
TypeError (superclass mismatch for class User):...