2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-06 13:44:29 +01:00
|
|
|
class Exercice < ApplicationRecord
|
2020-07-20 16:42:01 +02:00
|
|
|
belongs_to :etablissement, optional: false
|
2016-01-20 10:34:22 +01:00
|
|
|
|
|
|
|
validates :ca, presence: true, allow_blank: false, allow_nil: false
|
2015-11-16 11:23:29 +01:00
|
|
|
end
|