Open vimalvnair opened 2 years ago
Can you please extract the business logic from the Helper and move it to the models?
Also, make sure the variable and method names are descriptive. For example, what isarr here?: https://github.com/BhanwarSingh/sales-tax-calculator/blob/master/app/helpers/application_helper.rb#L4
arr
Hi @vimalvnair I have updated the code base as per your suggestion and extract the business logic from the helper and move it to the model.
Can you please extract the business logic from the Helper and move it to the models?
Also, make sure the variable and method names are descriptive. For example, what is
arr
here?: https://github.com/BhanwarSingh/sales-tax-calculator/blob/master/app/helpers/application_helper.rb#L4