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

7 lines
145 B
Ruby

class Itemitem < ActiveRecord::Base
belongs_to :item
belongs_to :parent_item, :class_name => "Item", :foreign_key => "parent_item_id"
end