search for: tut_modules

Displaying 2 results from an estimated 2 matches for "tut_modules".

Did you mean: ext_modules
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 ==
2006 Jun 07
3
function to be used in model
Where is the best place to put a function that will be used in both several controller and several models? -- Posted via http://www.ruby-forum.com/.