Sha256: fc6647c41971d27352781c853238258a130e395bd557b578cecf40efa78da44a

Contents?: true

Size: 128 Bytes

Versions: 10

Compression:

Stored size: 128 Bytes

Contents

class TaxCategory < ActiveRecord::Base
  validates_presence_of :name
  validates_uniqueness_of :name

  has_many :tax_rates
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
spree-0.10.2 app/models/tax_category.rb
spree-0.10.1 app/models/tax_category.rb
spree-0.10.0 app/models/tax_category.rb
spree-0.10.0.beta app/models/tax_category.rb
spree-enriquez-0.9.4 app/models/tax_category.rb
spree-0.9.4 app/models/tax_category.rb
spree-0.9.3 app/models/tax_category.rb
spree-0.9.2 app/models/tax_category.rb
spree-0.9.1 app/models/tax_category.rb
spree-0.9.0 app/models/tax_category.rb