From a3f4430527615efe41f156e9ae7037b4b6d21a32 Mon Sep 17 00:00:00 2001 From: Damon Zucconi Date: Thu, 28 Jun 2012 16:56:32 -0300 Subject: [PATCH] No blocks plz! --- lib/acts_as_follower/followable.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/acts_as_follower/followable.rb b/lib/acts_as_follower/followable.rb index 7582859..1ef6d1f 100644 --- a/lib/acts_as_follower/followable.rb +++ b/lib/acts_as_follower/followable.rb @@ -64,9 +64,10 @@ def followers(options={}) self.followings.unblocked.includes(:follower).all(options).collect{|f| f.follower} end - def blocks(options={}) - self.followings.blocked.includes(:follower).all(options).collect{|f| f.follower} - end + # We don't want your blocks! We want our blocks! + # def blocks(options={}) + # self.followings.blocked.includes(:follower).all(options).collect{|f| f.follower} + # end # Returns true if the current instance is followed by the passed record # Returns false if the current instance is blocked by the passed record or no follow is found