Results 1 to 6 of 6
Thread: [RoR] Multiple Inheritance
Mar 3, 2006, 08:16 #1
- Join Date
- Jun 2004
- 0 Post(s)
- 0 Thread(s)
[RoR] Multiple Inheritance
Let's say that I have a Property class and subclasses like Home, Plot, Appartment...
but as there is no multiple inheritance in Ruby, how do I implement it in Rails? (a model is already a subclass of ActiveRecord::Base)
Mixins didn't seem to be appropriate, is Home < Property enough?