Removing an association from a derived class

I am using single table inheritance.

class User < ActiveRecord::Base
has_many :abc
end

class Student < User

end

The student class should not inherit the has_many :abc relationship.
How can we override it? Is there a way to remove an association in the
derived class?

Pankaj

Hi Pankaj,

has_many creates quite a few other methods and you could remove them
all but
the usual and easiest way is to ignore and not to use them.
Or, of course, change the design of your models.

ciao, tom