add rake task

This commit is contained in:
Matthew K. Fu JuYuan 2012-10-16 15:43:31 +08:00
parent a50ccdafb2
commit 38e6d6c2c8
1 changed files with 4 additions and 0 deletions

View File

@ -96,4 +96,8 @@ namespace :nccu do
end
task :consolidate_object_auth => :environment do
ObjectAuth.all.each{|t| t.save}
end
end