metamaps--metamaps/app/models/in_metacode_set.rb
2015-09-10 22:12:50 +08:00

4 lines
218 B
Ruby

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