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

7 lines
187 B
Ruby

class Personitem < ActiveRecord::Base
belongs_to :person, :class_name => "Person", :foreign_key => "person_id"
belongs_to :item, :class_name => "Item", :foreign_key => "item_id"
end