Sha256: b244db60d43c0ef3a9bf4e4dcab173a61b5bcb39b78b080612c53c112acae1cd

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

p = Product.seed( :name ) do |s|
  s.name =  <%= @name %>
  s.available_on =  '2009-09-01 09:00:00.0'
  s.meta_keywords =  ['training', 'training']
  s.meta_description =  ""
  s.description =  '<%= @description %>'
  s.price = 0.00
  s.sku = '<%= @sku %>'

  s.is_physical    = false
  s.is_private     = false

  s.append_association :taxons, Taxon.find_by_name( 'Training' )

end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
datashift-0.2.1 tasks/config/seed_fu_product_template.erb
datashift-0.0.1 tasks/config/seed_fu_product_template.erb
ar_loader-0.0.6 tasks/config/seed_fu_product_template.erb