view config/initializers/twitter_tweet_cache_key.rb @ 138:7907fe886675

Better use symbol?
author nanaya <me@nanaya.pro>
date Wed, 13 Dec 2017 03:46:32 +0900
parents 148d8c17cb79
children
line wrap: on
line source

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