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