Module: Tagtical::Taggable::Cache::InstanceMethods
- Defined in:
- lib/tagtical/taggable/cache.rb
Instance Method Summary collapse
Instance Method Details
#save_cached_tag_list ⇒ Object
39 40 41 42 43 44 45 46 47 |
# File 'lib/tagtical/taggable/cache.rb', line 39 def save_cached_tag_list tag_types.each do |tag_type| if self.class.send("caching_#{tag_type.singularize}_list?") self[tag_type.tag_list_name(:cached)] = tag_list_on(tag_type).to_s if tag_list_on?(tag_type) end end true end |