Sha256: daf74df691643e984280cb844d877de1904d7cc684174559bb0b87f5ee3a1765
Contents?: true
Size: 463 Bytes
Versions: 462
Compression:
Stored size: 463 Bytes
Contents
module Caboose class Modification < ActiveRecord::Base self.table_name = 'store_modifications' self.primary_key = 'id' belongs_to :product, :class_name => 'Caboose::Product' has_many :modification_values, :class_name => 'Caboose::ModificationValue', :order => 'sort_order' attr_accessible :id, :product_id, :sort_order, :name def values return self.modification_values end end end
Version data entries
462 entries across 462 versions & 1 rubygems