search for: count_the_numb

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

Did you mean: count_the_number
2006 Feb 27
1
Models and Inheritance
...hod in the parent a class method ie Company.list_by_service(service) I don''t understand why the child just doesn''t inherit the parent method, and why a class method should - I''ve read it''s used when you want it to apply the same to all object instances ie count_the_number of companies Can anyone explain what I''ve obviously misunderstook, is my appraoch using inheritance in this manner inappropriate ? _tony -- Posted via http://www.ruby-forum.com/.