Refactor function create in user dossier controller
This commit is contained in:
parent
5beade4735
commit
65ba614be2
7 changed files with 27 additions and 33 deletions
|
@ -1,3 +1,6 @@
|
|||
class Exercice < ActiveRecord::Base
|
||||
belongs_to :etablissement
|
||||
|
||||
validates :ca, presence: true, allow_blank: false, allow_nil: false
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue