search for: teamroleid

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

2006 Feb 21
3
HABTM :insert_sql help
...ny :people, :class => ''Person'', :join_table => ''ProjectTeamRole'', :foreign_key => ''ProjectID'', :association_foreign_key => ''PersonID'', :insert_sql => "INSERT INTO ProjectTeamRole(ProjectID,PersonID,TeamRoleID) VALUES(#{id}, #{record.PersonID},1)" I can see that #id refers to the current Project object, but how do I refer to the PersonID that will be inserted if not as above?? thanks! rich