Sha256: 4e15af16db59cf484d33fe9fbb2ea63d91c7584f6ee10789d9887d59c0750176
Contents?: true
Size: 335 Bytes
Versions: 9
Compression:
Stored size: 335 Bytes
Contents
module Spree class OptionValue < ActiveRecord::Base belongs_to :option_type acts_as_list scope: :option_type has_and_belongs_to_many :variants, join_table: 'spree_option_values_variants', class_name: "Spree::Variant" validates :name, :presentation, presence: true attr_accessible :name, :presentation end end
Version data entries
9 entries across 9 versions & 1 rubygems