721014c927
This reverts commit 3e99123095
.
7 lines
173 B
Ruby
7 lines
173 B
Ruby
class LabelLink < ActiveRecord::Base
|
|
belongs_to :target, polymorphic: true
|
|
belongs_to :label
|
|
|
|
validates :target, presence: true
|
|
validates :label, presence: true
|
|
end
|