metamaps--metamaps/app/models/groupperson.rb
2012-09-22 22:39:12 -04:00

7 lines
191 B
Ruby

class Groupperson < ActiveRecord::Base
belongs_to :group, :class_name => "Group", :foreign_key => "group_id"
belongs_to :person, :class_name => "Person", :foreign_key => "person_id"
end