Sha256: 4e121e76f010cf18c5fdda8112be4dcab026279df6c707eff62b4a60e2d7d961

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

namespace :cachers do
  desc 'Finds each model cacheable and cache all his records.'
  task cache: :environment do
    Cachers.cache
  end

  desc 'Finds each model cacheable and recache all his records.'
  task recache: :environment do
    Cachers.recache
  end

  desc 'Finds each model cacheable and uncache all his records.'
  task uncache: :environment do
    Cachers.uncache
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cachers-0.1.1 lib/tasks/cachers.rake
cachers-0.0.1 lib/tasks/cachers.rake