demarches-normaliennes/app/models/follow.rb
2017-04-04 16:59:38 +02:00

6 lines
154 B
Ruby

class Follow < ActiveRecord::Base
belongs_to :gestionnaire
belongs_to :dossier
validates_uniqueness_of :gestionnaire_id, :scope => :dossier_id
end