diff app/models/tweet.rb @ 142:2d873f57f424

Forgot about this one
author nanaya <me@nanaya.pro>
date Wed, 13 Dec 2017 04:57:04 +0900
parents 88d7a7714d4e
children 8a858aec1905
line wrap: on
line diff
--- a/app/models/tweet.rb	Wed Dec 13 04:31:31 2017 +0900
+++ b/app/models/tweet.rb	Wed Dec 13 04:57:04 2017 +0900
@@ -50,7 +50,7 @@
         timeline.first.user
       else
         Rails.cache.fetch({ :user => @twitter_id }, :expires_in => cache_expires_time) do
-          @client.user(@twitter_id)
+          client.user(@twitter_id)
         end
       end
   end