Sha256: a12545899506096b6471890a27de36a6a6d71aa086fdadce41efdef103ea33d5
Contents?: true
Size: 513 Bytes
Versions: 4
Compression:
Stored size: 513 Bytes
Contents
<% order_date = Time.now 1.upto(100) do |i| order_date -= rand(12).hours item_total = "#{1 + rand(400)}.#{rand(100)}".to_f charges_total = "#{1 + rand(30)}.#{rand(100)}".to_f %> order_<%= i %>: user: user_<%= rand(500) + 1%> number: <%= "R#{Array.new(9){rand(9)}.join}" %> state: in_progress item_total: <%= item_total %> created_at: <%=order_date.to_s(:db)%> completed_at: <%=order_date.to_s(:db)%> total: <%= item_total + charges_total %> adjustment_total: <%= charges_total %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
spree-0.11.4 | db/sample/orders.yml |
spree-0.11.3 | db/sample/orders.yml |
spree-0.11.2 | db/sample/orders.yml |
spree-0.11.1 | db/sample/orders.yml |