Files
old-roraccounting/app/models/gang.rb
2020-10-21 15:11:20 +02:00

6 lines
153 B
Ruby

class Gang < ApplicationRecord
has_many :homies, class_name: "Homie"
has_many :money_moves, through: :homies
has_many :works, through: :homies
end