Homies and money moves
This commit is contained in:
4
app/models/homie.rb
Normal file
4
app/models/homie.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class Homie < ApplicationRecord
|
||||
has_many :money_moves_from, class_name: 'MoneyMove', column: :from_homie_id
|
||||
has_many :money_moves_to, class_name: 'MoneyMove', column: :to_homie_id
|
||||
end
|
||||
Reference in New Issue
Block a user