Sha256: c9a87e5c86ddab55cedf24fbec4836d0a9800f1e822bbb40f6f66e4ed29f0da6
Contents?: true
Size: 392 Bytes
Versions: 35
Compression:
Stored size: 392 Bytes
Contents
properties = { brand: 'Brand', model: 'Model', manufacturer: 'Manufacturer', made_from: 'Made from', fit: 'Fit', gender: 'Gender', type: 'Type', size: 'Size', material: 'Material', length: 'Lenght', color: 'Color', collection: 'Collection' } properties.each do |name, presentation| Spree::Property.where(name: name, presentation: presentation).first_or_create! end
Version data entries
35 entries across 35 versions & 1 rubygems