neuigkeiten sort und ability

This commit is contained in:
Andreas Stephanides
2015-03-04 15:51:44 +01:00
parent c01590f36c
commit 02c5cc2d55
4 changed files with 34 additions and 16 deletions

View File

@@ -0,0 +1,7 @@
namespace :neuigkeit_cache do
task :update =>:environment do
Neuigkeit.all.each do |n|
n.update_cache
end
end
end