From: Timothy Goddard Date: 2006-02-03T15:38:19+09:00 Subject: Re: Basic Rails Database Foreign Key question In the future, the rails mailing list would be a better place to post this. This time, here's a solution: # problem.rb class Problem < ActiveRecord::Base belongs_to :submitter, :class_name => 'Person', :foreign_key => 'submitted_id' belongs_to :assigned_to, :class_name => 'Person', :foreign_key => 'assigned_to_id' end # end look at http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html for full details. You can find the answer to almost every question in the excellent API documentation available at http://api.rubyonrails.org