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

7 lines
149 B
Ruby

class Groupgroup < ActiveRecord::Base
belongs_to :group
belongs_to :parent_group, :class_name => "Group", :foreign_key => "parent_group_id"
end