Skip to content

Commit

Permalink
Commented out populateimages3
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Gehani committed Dec 11, 2013
1 parent 8ce7afa commit 0244474
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 @@ -6,7 +6,7 @@ namespace :db do
User.all.each do |user|
puts "[DEBUG] uploading images for user #{user.id} of #{User.last.id}"
10.times do |n|
image = user.pins.create!(image_remote_url: 'http://s3.amazonaws.com/event_sample_images'.sample, description: %w(cool awesome crazy wow adorbs incredible).sample
#image = user.pins.create!(image_remote_url: 'http://s3.amazonaws.com/event_sample_images').sample, description: %w(cool awesome crazy wow adorbs incredible).sample
#image = image_remote_url('http://s3.amazonaws.com/event_sample_images').sample
#description = %w(cool awesome crazy wow adorbs incredible).sample
#user.pins.create!(image: image, description: description)
Expand Down

0 comments on commit 0244474

Please sign in to comment.