metamaps--metamaps/app/models/groupperson.rb

8 lines
191 B
Ruby
Raw Normal View History

2012-09-23 02:39:12 +00:00
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