From a05b141366007197abc18a31fcbbbbebcc892a1e Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Thu, 7 Apr 2011 16:36:14 -0700 Subject: Add tagged posts to db seed, make people#show and tags#show infinite scroll --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'db/seeds.rb') 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 -- cgit v1.2.3