Sha256: 4b821c5f469e4a97fec97f7b76a3e3c683d6ff7358c8863579480b902647da67

Contents?: true

Size: 200 Bytes

Versions: 7

Compression:

Stored size: 200 Bytes

Contents

1000.times do |i|
  t = (1.year.ago + rand(1.year.to_i))
  User.create name: "User #{i}", 
    email: "user+#{i}@example.org",
    created_at: t,
    updated_at: t, 
    value: (rand * 100).to_i

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
prosperity-0.0.8 spec/dummy/db/seeds.rb
prosperity-0.0.7 spec/dummy/db/seeds.rb
prosperity-0.0.6 spec/dummy/db/seeds.rb
prosperity-0.0.5 spec/dummy/db/seeds.rb
prosperity-0.0.4 spec/dummy/db/seeds.rb
prosperity-0.0.3 spec/dummy/db/seeds.rb
prosperity-0.0.2 spec/dummy/db/seeds.rb