diff --git a/db/seeds/backer.rb b/db/seeds/backer.rb index 8ec97faa3a5e34c0701729b648fa1482eb0ec296..0109ea326e5c06a7ce00031cc2f803848bb641a9 100644 --- a/db/seeds/backer.rb +++ b/db/seeds/backer.rb @@ -26,11 +26,31 @@ def create(backer_number, password) ["Millard", "Fillmore"], ["Franklin", "Pierce"], ["James", "Buchanan"], - ["Abraham", "Lincoln"] + ["Abraham", "Lincoln"], + ["Andrew", "Johnson"], + ["Ulysses S.", "Grant"], + ["Rutherford B.", "Hayes"], + ["James A.", "Garfield"], + ["Chester A.", "Arthur"], + ["Grover", "Cleveland"], + ["Benjamin", "Harrison"], + ["William", "McKinley"], + ["Theodore", "Roosevelt"], + ["William Howard", "Taft"], + ["Woodrow", "Wilson"], + ["Warren G.", "Harding"], + ["Calvin", "Coolidge"], + ["Herbert", "Hoover"], + ["Franklin D.", "Roosevelt"], + ["Harry S.", "Truman"], + ["Dwight D.", "Eisenhower"], + ["John F.", "Kennedy"], + ["Lyndon B.", "Johnson"], + ["Richard", "Nixon"] ] - + # Create seed user - email = names[backer_number][1].gsub(/ /,'').downcaase + email = names[backer_number][1].gsub(/ /,'').downcase user = User.create( :email => "#{email}@joindiaspora.com", :password => "#{password}", :profile => Profile.create( :first_name => names[backer_number][0], :last_name => names[backer_number][1] )) # Make friends with Diaspora Tom diff --git a/db/seeds/tom.rb b/db/seeds/tom.rb index 192d15acd3389eab58148596ebbd78a01fd72055..600d016d1040c27413b36aee7bf1b5c9e73c71ed 100644 --- a/db/seeds/tom.rb +++ b/db/seeds/tom.rb @@ -26,12 +26,32 @@ names = [ ["George", "Washington"], ["Millard", "Fillmore"], ["Franklin", "Pierce"], ["James", "Buchanan"], - ["Abraham", "Lincoln"] + ["Abraham", "Lincoln"], + ["Andrew", "Johnson"], + ["Ulysses S.", "Grant"], + ["Rutherford B.", "Hayes"], + ["James A.", "Garfield"], + ["Chester A.", "Arthur"], + ["Grover", "Cleveland"], + ["Benjamin", "Harrison"], + ["William", "McKinley"], + ["Theodore", "Roosevelt"], + ["William Howard", "Taft"], + ["Woodrow", "Wilson"], + ["Warren G.", "Harding"], + ["Calvin", "Coolidge"], + ["Herbert", "Hoover"], + ["Franklin D.", "Roosevelt"], + ["Harry S.", "Truman"], + ["Dwight D.", "Eisenhower"], + ["John F.", "Kennedy"], + ["Lyndon B.", "Johnson"], + ["Richard", "Nixon"] ] # Make friends (0..10).each { |n| - email = names[n][1].gsub(/ /,'').downcaase + email = names[n][1].gsub(/ /,'').downcase Friend.create( :email => "#{email}@joindiaspora.com", :url => "http://#{email}.joindiaspora.com/", :profile => Profile.create(:first_name => names[n][0], :last_name => names[n][1])) }