Class: Virgo::Tag
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Virgo::Tag
- Extended by:
- FriendlyId
- Defined in:
- app/models/virgo/tag.rb
Class Method Summary collapse
Class Method Details
.cache_key ⇒ Object
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 |