Skip to content

Commit

Permalink
Changed populateimages3 to 5.times
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Gehani committed Dec 13, 2013
1 parent 1d87b7b commit c004c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/populateimages3.rake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace :db do
task populateimages3: :environment do
User.all.each do |user|
puts "[DEBUG] uploading images for user #{user.id} of #{User.last.id}"
10.times do |n|
5.times do |n|
image = (remote_full_url).sample
description = %w(cool awesome crazy wow adorbs incredible).sample
user.pins.create!(image: image, description: description)
Expand Down

0 comments on commit c004c1d

Please sign in to comment.