Files
old-roraccounting/app/models/gang.rb

6 lines
153 B
Ruby
Raw Normal View History

2020-10-07 18:26:59 +03:00
class Gang < ApplicationRecord
2020-10-21 15:11:20 +02:00
has_many :homies, class_name: "Homie"
has_many :money_moves, through: :homies
has_many :works, through: :homies
end