search for: prospect_lists

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

Did you mean: prospect_list
2006 Jan 19
0
Help with nested HABTM relationship
...acts already selected from the mailing list (ll.36-41), no company names are printed. No error is produced. What am I doing wrong? 1 # set up the structures 2 class Prospect_list < ActiveRecord::Base 3 has_and_belongs_to_many :contacts, 4 :join_table => "prospect_lists_prospects", 5 :foreign_key => "prospect_list_id", 6 :association_foreign_key => "related_id" 7 end 8 9 class Account < ActiveRecord::Base 10 has_and_belongs_to_many :contacts, 11 :join_table => "accounts_co...