add rake task
This commit is contained in:
parent
a50ccdafb2
commit
38e6d6c2c8
|
@ -96,4 +96,8 @@ namespace :nccu do
|
|||
|
||||
end
|
||||
|
||||
|
||||
task :consolidate_object_auth => :environment do
|
||||
ObjectAuth.all.each{|t| t.save}
|
||||
end
|
||||
end
|
Reference in New Issue