search for: recordwithfeatures

Displaying 1 result from an estimated 1 matches for "recordwithfeatures".

2006 Feb 07
4
Ruby, Rails & Inheritance
Hi! I am looking for a solution for the following problem: Some of my models share some attributes and also was in need for some extra features, so I created a class "RecordWithFeatures": ----------------------------------------------------------------- class RecordWithFeatures < ActiveRecord::Base # @Override def self.descends_from_active_record? superclass == RecordWithFeatures end # @Override def self.class_name_of_active_record_descendant(klass)...