Quote:
Originally Posted by Socks
How would you do it?
PS: You have 3 scrolling frames on your website, Netscape 2 is calling 
|
Three scrolling frames? The only site in my sig I own is adultapi, and its a temporary page until my designer gets me what I need.
I would use subversion for tracking changes.
Code:
kris@core:/var/www/mysite$ svn diff app/models/topic.rb
Index: app/models/topic.rb
===================================================================
--- app/models/topic.rb (revision 13)
+++ app/models/topic.rb (working copy)
@@ -10,6 +10,6 @@
named_scope :parents, :conditions => [ 'parent_id IS NULL' ]
def self.recent(limit = 5)
- find(:all, :limit => limit)
+ parents.find(:all, :limit => limit)
end
-end
\ No newline at end of file
+end
kris@core:/var/www/mysite$