From 8d8201822bc35553cbe7c55ceca7cae5a8c0c044 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Wed, 9 Mar 2022 21:45:07 -0500 Subject: [PATCH] No longer need to prepend("Qbo") --- app/controllers/qbo_controller.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index b56fad9..ebed4f9 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -111,9 +111,6 @@ class QboController < ApplicationController entities.each do |entity| id = entity['id'].to_i name = entity['name'] - - # TODO rename all other models! - name.prepend("Qbo") if not name.eql? "Customer" logger.debug "Casting #{name.constantize} to obj"