search for: childrecord

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

2006 Jul 13
5
ActiveRecord inheritance
How to create a super class based on ActiveRecord::Base? For example: class ParentRecord < ActiveRecord::Base end class ChildRecord < ParentRecord end Rails always asks for ''parent_records'' table. Which has absolutely no need to exist at all. It''s intentionally made as a super class to be inherited. Thanks. -- Posted via http://www.ruby-forum.com/.