API de comptabilité horaire.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789
  1. class Task < ApplicationRecord
  2. belongs_to :activity
  3. belongs_to :owner, class_name: "User"
  4. validates :name, presence: true
  5. validates :owner, presence: true
  6. validates :activity, presence: true
  7. validates :start_time, presence: true
  8. end