rake update
This commit is contained in:
parent
b40d4702d5
commit
16e5473418
|
@ -0,0 +1,13 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
namespace :desktop do
|
||||||
|
task :destroy_build_desktop => :environment do
|
||||||
|
Desktop.all.destroy_all
|
||||||
|
u = User.all
|
||||||
|
u.each do |us|
|
||||||
|
x = us.initialize_desktop
|
||||||
|
x.save!
|
||||||
|
puts "Desktop created for " + us.email.to_s
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in New Issue