metamaps--metamaps/app/models/in_metacode_set.rb

5 lines
206 B
Ruby
Raw Normal View History

class InMetacodeSet < ActiveRecord::Base
belongs_to :metacode, class_name: 'Metacode', foreign_key: 'metacode_id'
belongs_to :metacode_set, class_name: 'MetacodeSet', foreign_key: 'metacode_set_id'
end