metamaps--metamaps/app/models/groupgroup.rb

8 lines
149 B
Ruby
Raw Normal View History

2012-09-23 02:39:12 +00:00
class Groupgroup < ActiveRecord::Base
belongs_to :group
belongs_to :parent_group, :class_name => "Group", :foreign_key => "parent_group_id"
end