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.

team.rb 188B

123456
  1. class Team < ApplicationRecord
  2. validates :name, uniqueness: true, presence: true
  3. has_many :memberships
  4. has_many :members, through: :memberships, dependent: :destroy
  5. end