Pack up functionality done

This commit is contained in:
Senad Uka
2020-10-21 15:11:20 +02:00
parent 25cfc6610c
commit 6f655dfe2b
11 changed files with 95 additions and 13 deletions

View File

@@ -1,3 +1,5 @@
class Gang < ApplicationRecord
has_many :homies
end
has_many :homies, class_name: "Homie"
has_many :money_moves, through: :homies
has_many :works, through: :homies
end