Sha256: 99ee9c03ac4cd03a4fe05901343b769ff16b7e4260177fec9fa7b6371bd2d143
Contents?: true
Size: 312 Bytes
Versions: 18
Compression:
Stored size: 312 Bytes
Contents
option_types = [ { :name => "tshirt-size", :presentation => "Size", :position => 1 }, { :name => "tshirt-color", :presentation => "Color", :position => 2 } ] option_types.each do |option_type_attrs| Spree::OptionType.create!(option_type_attrs, :without_protection => true) end
Version data entries
18 entries across 18 versions & 1 rubygems