Class: Virgo::Tag

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
FriendlyId
Defined in:
app/models/virgo/tag.rb

Class Method Summary collapse

Class Method Details

.cache_keyObject


20
21
22
# File 'app/models/virgo/tag.rb', line 20

def self.cache_key
  "taga-#{maximum(:updated_at).try(:to_i)}-#{all.size}"
end