collecting the ids

This commit is contained in:
ilya 2010-08-24 16:15:59 -07:00
parent 0f04cad670
commit 9db4838543

View file

@ -230,7 +230,7 @@ class User
end
def all_group_ids
self.groups.all.map{|x| x.id}
self.groups.all.collect{|x| x.id}
end
protected
def generate_key