lib/activity_feed/ohm/item.rb in activity_feed-1.1.1 vs lib/activity_feed/ohm/item.rb in activity_feed-1.2

- old
+ new

@@ -19,10 +19,10 @@ after :save, :update_redis private def update_redis - ActivityFeed.redis.zadd("#{ActivityFeed.namespace}:#{ActivityFeed.key}:#{self.user_id}", self.created_at.to_i, self.id) + ActivityFeed.redis.zadd(ActivityFeed.feed_key(self.user_id), DateTime.parse(self.created_at).to_i, self.id) end end end end \ No newline at end of file