I have a table that has all existent taxes in my country and I want to
use it to calculate the tax value for every product in my Product table.
What’s the best way to do this? Maybe add some kind of virtual column to
I have the following classes:
class Product < ActiveRecord:Base
class Tax < ActiveRecord:Base
Can anyone tell me how to do this?