Skip to content

Commit

Permalink
chore: Add refactor note
Browse files Browse the repository at this point in the history
  • Loading branch information
MelTravelz committed Oct 21, 2023
1 parent 7ad77fd commit 2bddfc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class User < ApplicationRecord
validates :email, :phone_number, uniqueness: true
validates_numericality_of :zip_code

# This method needs a HUGE refactor:
def find_dashboard_info
owner_loans_with_puzzle = owner_loans.includes(:puzzle)
borrower_loans_with_puzzle = borrower_loans.includes(:puzzle)
Expand Down

0 comments on commit 2bddfc6

Please sign in to comment.