Sha256: 4fd912ac931f87b8bf26b34c172514292f1d4b0988062de311477ab0df270725
Contents?: true
Size: 328 Bytes
Versions: 42
Compression:
Stored size: 328 Bytes
Contents
north_america = Spree::Zone.find_by!(name: 'North America') clothing = Spree::TaxCategory.find_by!(name: 'Clothing') Spree::TaxRate.where( name: 'North America', zone: north_america, amount: 0.05, tax_category: clothing ).first_or_create! do |tax_rate| tax_rate.calculator = Spree::Calculator::DefaultTax.create! end
Version data entries
42 entries across 42 versions & 1 rubygems