f4b5ca1ff0
1 2 3 4
class Matey < ActiveRecord::Base belongs_to :pirate belongs_to :target, :class_name => 'Pirate', :foreign_key => 'target_id' end