diff --git a/lib/diaspora/redis_cache.rb b/lib/diaspora/redis_cache.rb index 353545bae..0d980d71f 100644 --- a/lib/diaspora/redis_cache.rb +++ b/lib/diaspora/redis_cache.rb @@ -50,7 +50,7 @@ class RedisCache :order => self.order }) - sql = @user.visible_shareables_sql(Post, opts) + sql = @user.visible_shareable_sql(Post, opts) hashes = Post.connection.select_all(sql) # hashes are inserted into set in a single transaction