From 222847ca92a2f64f6d466a4842c5661355220be2 Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 9 Sep 2010 17:54:33 -0700 Subject: [PATCH] Using methods that exist can be helpful --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 0da319889..4961a0265 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -193,7 +193,7 @@ class User post.unsocket_from_uid(self.id) if post.respond_to? :unsocket_from_uid retraction = Retraction.for(post) retraction.creator_signature = retraction.sign_with_key( encryption_key ) - push_to_people retraction, people_with_groups(groups_with_post(post.id)) + push_to_people retraction, people_in_groups(groups_with_post(post.id)) retraction end