diff options
author | Raphael Sofaer <raphael@joindiaspora.com> | 2011-04-08 03:36:14 +0400 |
---|---|---|
committer | Raphael Sofaer <raphael@joindiaspora.com> | 2011-04-08 03:36:14 +0400 |
commit | a05b141366007197abc18a31fcbbbbebcc892a1e (patch) | |
tree | ec27bba4efc545b98f9d025f4379dca845a8c226 /db/seeds.rb | |
parent | d8ac8d1329d41a5d0d21e6c0fef14e76f60c2ec0 (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.rb | 2 |
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 |