Arie/serveme

View on GitHub
app/models/player_statistic.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class PlayerStatistic < ActiveRecord::Base
  belongs_to :reservation_player
  has_one :server,      through: :reservation_player, autosave: false
  has_one :reservation, through: :reservation_player, autosave: false
  has_one :user,        through: :reservation_player, autosave: false
end