now friending everyone and all servers deploy

This commit is contained in:
ilya 2010-07-01 14:40:59 -04:00
parent 99d12964b6
commit 767c3c1979

View file

@ -34,5 +34,14 @@ def create(backer_number, password)
# Make friends with Diaspora Tom # Make friends with Diaspora Tom
Friend.create( :email => "tom@joindiaspora.com", :url => "http://tom.joindiaspora.com/", :profile => Profile.create(:first_name => "Diaspora", :last_name => "Tom")) Friend.create( :email => "tom@joindiaspora.com", :url => "http://tom.joindiaspora.com/", :profile => Profile.create(:first_name => "Diaspora", :last_name => "Tom"))
# Make friends
#
(0..9).each { |n|
Friend.create( :email => "#{names[n][1]}@joindiaspora.com", :url => "http://#{names[n][1]}.joindiaspora.com/", :profile => Profile.create(:first_name => names[n][0], :last_name => names[n][1])) unless n == backer_number
}
end end