diff --git a/lib/acts_as_follower/follower.rb b/lib/acts_as_follower/follower.rb index 168c09a..5b24147 100644 --- a/lib/acts_as_follower/follower.rb +++ b/lib/acts_as_follower/follower.rb @@ -42,7 +42,7 @@ def stop_following(followable) # Returns the follow records related to this instance by type. def follows_by_type(followable_type, options={}) - Follow.unblocked.includes(:followable).for_follower(self).for_followable_type(followable_type).find(:all, options) + self.follows.unblocked.includes(:followable).for_followable_type(followable_type).all(options) end # Returns the follow records related to this instance with the followable included.