Displaying 1 result from an estimated 1 matches for "entitymembershp".
Did you mean:
entity_membership
2006 Aug 03
0
How to create/save unary (pk-only) models
...any :entity_members
end
create_table "entity_membership", :force => true do |t|
t.column "person_id", :integer, :null => false
t.column "role", :string, :null => false
t.column "entity_id", :integer, :null => false
end
class EntityMembershp < ActiveRecord::Base
belongs_to :entity_member
belongs_to :person
end
The entity id is needed to link the aggregation to various other
models, but there''s no other information that can or should be
associated with it.
However I can''t seem to get the Entity class to...