<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -71,6 +71,18 @@ class Topic &lt; ActiveRecord::Base
     permalink
   end
 
+  def self.replied_to_by(user)
+    user.posts.find(:all, :order =&gt; 'topics.last_updated_at DESC', :limit =&gt; 5, :include =&gt; :topic)
+  end
+
+  def self.popular
+    Post.count(:all, :group =&gt; :topic, :conditions =&gt; ['posts.created_at &gt; ?',10.days.ago], :limit =&gt; 5, :order =&gt; 'count_all DESC')
+  end
+
+  def self.replyless
+    Topic.find(:all, :limit =&gt; 5, :order =&gt; 'created_at DESC', :conditions =&gt; 'posts_count = 1')
+  end
+
 protected
   
   def set_default_attributes</diff>
      <filename>app/models/topic.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d8dfb65c6dc216599fc80aee969c18ed478737ec</id>
    </parent>
  </parents>
  <author>
    <name>Sudara</name>
    <email>sudara@alonetone.com</email>
  </author>
  <url>http://github.com/sudara/alonetone/commit/9707cde5aac13b808e8d95457716d1f499b1ec7f</url>
  <id>9707cde5aac13b808e8d95457716d1f499b1ec7f</id>
  <committed-date>2009-06-21T15:16:12-07:00</committed-date>
  <authored-date>2009-06-21T15:16:12-07:00</authored-date>
  <message>stage coming features for forum</message>
  <tree>f57305d517797e2b9cb6df546e966f03ad1be0c7</tree>
  <committer>
    <name>Sudara</name>
    <email>sudara@alonetone.com</email>
  </committer>
</commit>
