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

12 lines
188 B
Ruby

class Person < ActiveRecord::Base
belongs_to :user
has_many :grouppeople
has_many :personitems
has_many :groups, :through => :grouppeople
has_many :items, :through => :personitems
end