Sha256: b147324771aec9dd550d14409282a2948f8f2f5d5a32b6a624f0a1297675d59f
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
module Spree class Prototype < ActiveRecord::Base has_and_belongs_to_many :properties, :join_table => 'spree_properties_prototypes' has_and_belongs_to_many :option_types, :join_table => 'spree_option_types_prototypes' attr_accessible :name validates :name, :presence => true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_core-1.0.7 | app/models/spree/prototype.rb |
spree_core-1.0.6 | app/models/spree/prototype.rb |