rake update
This commit is contained in:
parent
23e86bfe31
commit
eaf465525a
|
@ -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