How to remove attributes from inherited class when parent class has it Rails

Viewed 13

I have a parent class

class A
 has_many: B
end

and child class

class C < A
end

C must inherit A.

BUT

I don't want C to have an association with B how to I can implement it?

sorry for my English.

0 Answers
Related