public this repo is viewable by everyone
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Oops: cleaned up some comment garbage in the Person model
Michael Hartl (author)
5 days ago
commit  53638802f707349d20db26c759af9151c4db4ccf
tree    571dd0c92752c384f8a18ad476bdd4a27c607257
parent  f00a2b56bd36bcc41379d704791ce658227968b2
...
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
...
90
91
92
 
 
 
 
 
 
 
 
 
 
 
 
93
94
95
0
@@ -90,18 +90,6 @@ class Person < ActiveRecord::Base
0
   before_update :set_old_description
0
   after_update :log_activity_description_changed
0
 
0
- ## Class methods
0
-# SELECT people.* FROM people INNER JOIN connections ON people.id =
0
-# connections.contact_id WHERE ((connections.person_id = 1) AND ((status = 0)))
0
-# ORDER BY people.created_at DESC
0
-# def contacts
0
-# find(:all,
0
-# :joins => "INNER JOIN people p ON activities.person_id = p.id",
0
-# :conditions => ["p.deactivated = ?", false],
0
-# :order => 'activities.created_at DESC',
0
-# :limit => GLOBAL_FEED_SIZE)
0
-# end
0
-
0
   class << self
0
 
0
     # Return the active users.

Comments

    No one has commented yet.