Skip to content

Commit

Permalink
clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
beingmattlevy committed Aug 20, 2024
1 parent 7f47a37 commit 596ab50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/models/payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ def refundable?
received?
end

# XXX test
# @deprecated method for converting old status
def convert_old_status!
@matrix ||= { 'N' => 'new', 'P' => 'in progress', 'R' => 'received', 'F' => 'refunded' }
Expand Down
2 changes: 1 addition & 1 deletion app/models/ticket_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def csv_columns
belongs_to :user, inverse_of: :ticket_requests
belongs_to :event, inverse_of: :ticket_requests, touch: true

has_one :payment, inverse_of: :ticket_request, dependent: :destroy
has_one :payment, inverse_of: :ticket_request

has_many :ticket_request_event_addons, dependent: :destroy
has_many :event_addons, through: :ticket_request_event_addons
Expand Down

0 comments on commit 596ab50

Please sign in to comment.