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

7 lines
183 B
Ruby

class Groupitem < ActiveRecord::Base
belongs_to :group, :class_name => "Group", :foreign_key => "group_id"
belongs_to :item, :class_name => "Item", :foreign_key => "item_id"
end