class ExpressSchema
has_many :express_entities, :foreign_key => 'package_id'
end
class ExpressEntity
belongs_to :express_schema, :class_name => 'ExpressSchema',
:foreign_key => 'package_id'
end
Wednesday, 13 May 2009
Active Scaffold and Inheritance
Had a problem getting two cases of single table inheritance to work in ActiveScaffold so thought I'd document it. Package and Classifier are the ActiveRecord classes.
Monday, 11 May 2009
YUML Me for Putting UML on Web
Found a very nice little tool called yUML me for putting UML Use Case and Class figures into your blog or other Web pages.
Subscribe to:
Posts (Atom)