Sha256: f6a88d24dc0a21a6be4f81d0a28fb123878df10cbd965d2265cb347962b1ee6c

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

module PiggybakSimpleVariants
  class Variant < ActiveRecord::Base
    has_many :piggybak_sellables, class_name: "Piggybak::Sellable"
    has_many :variant_options
    has_many :option_values, through: :variant_options, class_name: "::PiggybakSimpleVariants::OptionValue"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
piggybak_simple_variants-0.1.2 app/models/piggybak_simple_variants/variant.rb