update logic in tweetstore.rb to be compatible with redistogo