collecting the ids
This commit is contained in:
parent
0f04cad670
commit
9db4838543
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue