From 38e6d6c2c8cdd24a374b5f7bbc19ee36476917e4 Mon Sep 17 00:00:00 2001 From: "Matthew K. Fu JuYuan" Date: Tue, 16 Oct 2012 15:43:31 +0800 Subject: [PATCH] add rake task --- lib/tasks/nccu.rake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tasks/nccu.rake b/lib/tasks/nccu.rake index 5dfaad00..b3d5abf0 100644 --- a/lib/tasks/nccu.rake +++ b/lib/tasks/nccu.rake @@ -96,4 +96,8 @@ namespace :nccu do end + + task :consolidate_object_auth => :environment do + ObjectAuth.all.each{|t| t.save} + end end \ No newline at end of file