Sha256: 5322891797ca47fa872e5ec42c0d13d3e5d26a2eec16cf20a42ee41998f8d749
Contents?: true
Size: 613 Bytes
Versions: 40
Compression:
Stored size: 613 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 %>: number: <%= "R#{Array.new(9){rand(9)}.join}" %> user: user_<%= i %> state: complete email: <%= Faker::Internet.email %> 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 %> ship_address: ship_address_<%= i %> bill_address: bill_address_<%= i %> <% end %>
Version data entries
40 entries across 38 versions & 7 rubygems