Sha256: 8b4f86bdcb89baa8d9d65d4f877569373258b9fa87f52ffa7d5b4bcf08519595

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

class TbCommerce::ProductOptionSet < ActiveRecord::Base
  self.table_name = 'tb_commerce_product_option_sets'

  belongs_to :product, :inverse_of => :product_option_sets, :foreign_key => :tb_commerce_product_id
  belongs_to :option_set, :inverse_of => :product_option_sets, :foreign_key => :tb_commerce_option_set_id
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_commerce-0.0.4 app/models/tb_commerce/product_option_set.rb
tb_commerce-0.0.3 app/models/tb_commerce/product_option_set.rb
tb_commerce-0.0.2 app/models/tb_commerce/product_option_set.rb