search for: entity_member

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

Did you mean: entity_members
2006 Aug 03
0
How to create/save unary (pk-only) models
I have a table that''s currently only a primary key. Basically: create_table "entites", :force => true do |t| end class Entity < ActiveRecord::Base has_many :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 &l...