From d5de21429ed704439c4d0182f1257cefbfb94688 Mon Sep 17 00:00:00 2001 From: Godwin Date: Sun, 6 Jul 2014 19:12:44 -0600 Subject: [PATCH] Regenerate images rake task (fix) --- lib/tasks/regenerate.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/regenerate.rake b/lib/tasks/regenerate.rake index 42fb613..d35a4fb 100644 --- a/lib/tasks/regenerate.rake +++ b/lib/tasks/regenerate.rake @@ -2,7 +2,7 @@ namespace :regenerate do desc "Regenerates images" task conference_posters: :environment do - Conferences.all.each {|m| m.poster.recreate_versions!} + Conference.all.each {|m| m.poster.recreate_versions!} end task organization_avatars: :environment do @@ -10,7 +10,7 @@ namespace :regenerate do end task conference_covers: :environment do - Conferences.all.each {|m| m.cover.recreate_versions!} + Conference.all.each {|m| m.cover.recreate_versions!} end task organization_covers: :environment do