view config/initializers/twitter_tweet_cache_key.rb @ 150:950849c40d42

Update all the things, including rails 5.2
author nanaya <me@nanaya.pro>
date Wed, 31 Jan 2018 15:04:03 +0900
parents 148d8c17cb79
children
line wrap: on
line source

class Twitter::Tweet
  def cache_key
    "twitter/tweet/#{id}"
  end
end