public
Description: OneBody is web-based software that connects community members, especially churches, on the web.
Homepage: http://beonebody.com
Clone URL: git://github.com/seven1m/onebody.git
Remove Group#people_names_and_ids() - results of usage too unpredictable.
Tim Morgan (author)
Wed Oct 15 06:14:00 -0700 2008
commit  c4467ec2a55f07e158bdf457af26b3da202deafe
tree    d14f4e06a5ea3cd8db44e10ceaff8bb641e431a4
parent  42ae62d5b7c64246d7bc495cf4b87e2811f3b099
...
133
134
135
136
137
138
139
140
141
142
143
...
133
134
135
 
 
 
 
 
136
137
138
0
@@ -133,11 +133,6 @@ class Group < ActiveRecord::Base
0
     end
0
   end
0
 
0
-  def people_names_and_ids
0
-    select = %w(id family_id first_name last_name suffix birthday gender email visible_to_everyone full_access classes updated_at).map { |c| "people.#{c}" }.join(',')
0
-    self.people(select)
0
-  end
0
-
0
   def people_count
0
     if parents_of
0
       update_cached_parents if cached_parents.to_a.empty?

Comments