DG IZ MS; eventmachine in tom's seed script
This commit is contained in:
parent
f759f5d1b7
commit
8038fb8585
1 changed files with 18 additions and 14 deletions
|
|
@ -35,6 +35,7 @@ names = [ ["George", "Washington"],
|
||||||
}
|
}
|
||||||
|
|
||||||
# Populate feed
|
# Populate feed
|
||||||
|
EventMachine::run{
|
||||||
StatusMessage.create(:message => "There's a bomb in the lasagna!?", :person => user)
|
StatusMessage.create(:message => "There's a bomb in the lasagna!?", :person => user)
|
||||||
Bookmark.create(:title => "xkcd", :link => "http://xkcd.com/743/", :person => user )
|
Bookmark.create(:title => "xkcd", :link => "http://xkcd.com/743/", :person => user )
|
||||||
StatusMessage.create(:message => "I switched to Motoroi today, a Motorola Android-based phone, in Korea. Now, I am using Android phones in both the U.S. and Korea", :person => user, :created_at => Time.now-930)
|
StatusMessage.create(:message => "I switched to Motoroi today, a Motorola Android-based phone, in Korea. Now, I am using Android phones in both the U.S. and Korea", :person => user, :created_at => Time.now-930)
|
||||||
|
|
@ -49,3 +50,6 @@ StatusMessage.create(:message => "Mmm. Friday night. Acknowledged.", :person =>
|
||||||
StatusMessage.create(:message => "Getting a universal remote is the epitome of laziness, I do declare.", :person => user, :created_at => Time.now-4400)
|
StatusMessage.create(:message => "Getting a universal remote is the epitome of laziness, I do declare.", :person => user, :created_at => Time.now-4400)
|
||||||
StatusMessage.create(:message => "Does anyone know how to merge two Skype contact entries of the same person? (i.e. one Skype ID and one mobile number)", :person => user, :created_at => Time.now-400240)
|
StatusMessage.create(:message => "Does anyone know how to merge two Skype contact entries of the same person? (i.e. one Skype ID and one mobile number)", :person => user, :created_at => Time.now-400240)
|
||||||
StatusMessage.create(:message => "A cool, cool morning for once.", :person => user, :created_at => Time.now-150000)
|
StatusMessage.create(:message => "A cool, cool morning for once.", :person => user, :created_at => Time.now-150000)
|
||||||
|
|
||||||
|
EventMachine::stop
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue