Displaying 1 result from an estimated 1 matches for "tbl_codemgmt_poolhost".
2006 Jul 25
2
join in legacy DB?
...n all three tables
have wacky names?
class Machine < ActiveRecord::Base
set_table_name "tbl_CodeMgmt_Host"
set_primary_key "Id"
end
class Pool < ActiveRecord::Base
set_table_name "tbl_CodeMgmt_Pool"
set_primary_key "Id"
end
the join table is
tbl_CodeMgmt_PoolHost
with columns
CodeMgmtPoolId
CodeMgmtHostId
any clues? thanks
-zaq
--
Posted via http://www.ruby-forum.com/.