diff --git a/app/models/spree/product.rb b/app/models/spree/product.rb index e1228f56a4..c603541f25 100755 --- a/app/models/spree/product.rb +++ b/app/models/spree/product.rb @@ -22,7 +22,12 @@ module Spree include LogDestroyPerformer self.belongs_to_required_by_default = false - self.ignored_columns += [:supplier_id, :variant_unit_scale, :variant_unit_name] + # These columns have been moved to variant. Currently this is only for documentation purposes, + # because they are declared as attr_accessor below, declaring them as ignored columns has no + # effect + self.ignored_columns += [ + :supplier_id, :primary_taxon_id, :variant_unit, :variant_unit_scale, :variant_unit_name + ] acts_as_paranoid