Sha256: ac75e406443fca0fa994d4468ee6a9ca9dc32db1cc3ca17b287d52344040e7ef

Contents?: true

Size: 207 Bytes

Versions: 9

Compression:

Stored size: 207 Bytes

Contents

3.times do |i|
  user = User.create(email: "test#{i}@test.com")
  rand(10).times do |j|
    Post.create(subject: "Post #{i}-#{j}", content: "Testing post for user #{user.id}", author_id: user.id)
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
speedup-rails-0.0.15 spec/dummy/db/seeds.rb
speedup-rails-0.0.13 spec/dummy/db/seeds.rb
speedup-rails-0.0.12 spec/dummy/db/seeds.rb
speedup-rails-0.0.10 spec/dummy/db/seeds.rb
speedup-rails-0.0.9 spec/dummy/db/seeds.rb
speedup-rails-0.0.7 spec/dummy/db/seeds.rb
speedup-rails-0.0.6 spec/dummy/db/seeds.rb
speedup-rails-0.0.3 spec/dummy/db/seeds.rb
speedup-rails-0.0.2 spec/dummy/db/seeds.rb