NoMethodError in PostsController#index
undefined method `all' for Redis::Post:Class
Extracted source (around line #100):
k = 'undeleted_posts'
# Move this code into Redis::Post#update_undeleted_cache
Redis::Post.all(type: :set).difference('deleted').store('undeleted_posts/pre')
Redis::Post.all(type: :zset).intersect('undeleted_posts/pre').store('undeleted_posts') <-------
end
start = Time.now