adding some zombie friend puts
This commit is contained in:
parent
534cc112bf
commit
8b3a9cd801
1 changed files with 8 additions and 1 deletions
|
|
@ -23,7 +23,14 @@ class DevUtilitiesController < ApplicationController
|
|||
rel_hash = {:friend => person}
|
||||
logger.info "Zombiefriending #{backer['given_name']} #{backer['family_name']}"
|
||||
logger.info "Calling send_friend_request with #{rel_hash[:friend]} and #{current_user.aspects.first}"
|
||||
current_user.send_friend_request_to(rel_hash[:friend], current_user.aspects.first)
|
||||
begin
|
||||
|
||||
|
||||
current_user.send_friend_request_to(rel_hash[:friend], current_user.aspects.first)
|
||||
rescue Exception => e
|
||||
logger.info e.inspect
|
||||
puts e.inspect
|
||||
end
|
||||
else
|
||||
puts "error: #{person}"
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue