Displaying 1 result from an estimated 1 matches for "childclass".
Did you mean:
child_class
2007 Jan 06
0
Using ActiveRecord With (Previously) Derived Classes
If you have a class (in a pre-existing library, for example) that has
been derived from another class:
class ChildClass < ParentClass
since Ruby doesn''t support multiple inheritance, you can''t derive
ChildClass < ActiveRecord::Base to make ChildClass an ActiveRecord
class to persist ChildClass objects.
So what''s the standard way to use ActiveRecord for
persistence/database operatio...