metamaps--metamaps/app/models/person.rb

12 lines
188 B
Ruby
Raw Normal View History

2012-09-23 02:39:12 +00:00
class Person < ActiveRecord::Base
belongs_to :user
has_many :grouppeople
has_many :personitems
has_many :groups, :through => :grouppeople
has_many :items, :through => :personitems
end