Sha256: 0b6ddf5110fe7c04856c6b6f4dbea86840d9b2d42c84c6709c25f4646453620d

Contents?: true

Size: 370 Bytes

Versions: 9

Compression:

Stored size: 370 Bytes

Contents

module KktShoppe
  class ProductCategorization < ActiveRecord::Base
  
    self.table_name = 'kkt_shoppe_product_categorizations'

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

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kkt_shoppe-2.0.2 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-2.0.1 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-2.0.0 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-1.3.0 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-1.2.1 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-1.2.0 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-1.1.2 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-1.1.1 app/models/kkt_shoppe/product_categorization.rb
kkt_shoppe-1.1.0 app/models/kkt_shoppe/product_categorization.rb