Sha256: 440e140cbea2503ae4d9a350d34ec4493348213e1e0de289b067de26ee7ca66a

Contents?: true

Size: 357 Bytes

Versions: 8

Compression:

Stored size: 357 Bytes

Contents

module Shoppe
  class ProductCategorization < ActiveRecord::Base
  
    self.table_name = 'shoppe_product_categorizations'

    # Links back 
    belongs_to :product, class_name: 'Shoppe::Product'
    belongs_to :product_category, class_name: 'Shoppe::ProductCategory'
    
    # Validations
    validates_presence_of :product, :product_category

  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
shoppe-1.1.2 app/models/shoppe/product_categorization.rb
shoppe-1.1.1 app/models/shoppe/product_categorization.rb
shoppe-1.1.0 app/models/shoppe/product_categorization.rb
shoppe-1.0.9 app/models/shoppe/product_categorization.rb
shoppe-1.0.8 app/models/shoppe/product_categorization.rb
kylekthompson-shoppe-1.0.7 app/models/shoppe/product_categorization.rb
shoppe-1.0.7 app/models/shoppe/product_categorization.rb
shoppe-1.0.6 app/models/shoppe/product_categorization.rb