Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Sofaer <raphael@joindiaspora.com>2011-04-08 03:36:14 +0400
committerRaphael Sofaer <raphael@joindiaspora.com>2011-04-08 03:36:14 +0400
commita05b141366007197abc18a31fcbbbbebcc892a1e (patch)
treeec27bba4efc545b98f9d025f4379dca845a8c226 /db/seeds.rb
parentd8ac8d1329d41a5d0d21e6c0fef14e76f60c2ec0 (diff)
Add tagged posts to db seed, make people#show and tags#show infinite scroll
Diffstat (limited to 'db/seeds.rb')
-rw-r--r--db/seeds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/seeds.rb b/db/seeds.rb
index 21fad3f73..ef0d81083 100644
--- a/db/seeds.rb
+++ b/db/seeds.rb
@@ -33,7 +33,7 @@ require 'spec/support/user_methods'
time_interval = 1000
(1..25).each do |n|
[alice, bob, eve].each do |u|
- post = u.post :status_message, :text => "#{u.username} - #{n}", :to => u.aspects.first.id
+ post = u.post :status_message, :text => "#{u.username} - #{n} - #seeded", :to => u.aspects.first.id
post.created_at = post.created_at + time_interval
post.updated_at = post.updated_at + time_interval
post.save