No longer need to prepend("Qbo")

This commit is contained in:
2022-03-09 21:45:07 -05:00
parent 726eb4632e
commit 8d8201822b

View File

@@ -112,9 +112,6 @@ class QboController < ApplicationController
id = entity['id'].to_i id = entity['id'].to_i
name = entity['name'] name = entity['name']
# TODO rename all other models!
name.prepend("Qbo") if not name.eql? "Customer"
logger.debug "Casting #{name.constantize} to obj" logger.debug "Casting #{name.constantize} to obj"
# Magicly initialize the correct class # Magicly initialize the correct class