From c1d2f271d941d3d873f10f0cc0aa32cf01b80ef2 Mon Sep 17 00:00:00 2001 From: ilya <ilya@laptop.(none)> Date: Fri, 13 Aug 2010 12:43:27 -0700 Subject: [PATCH] RS, IZ; close the file after writing the backer number --- app/controllers/dev_utilities_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/dev_utilities_controller.rb b/app/controllers/dev_utilities_controller.rb index c7bae62bd3..0295e4114d 100644 --- a/app/controllers/dev_utilities_controller.rb +++ b/app/controllers/dev_utilities_controller.rb @@ -53,6 +53,6 @@ def warzombie seed_num_hash = {:seed_number => params[:number]} file = File.new(Rails.root.join('config','backer_number.yml'),'w') file.write(seed_num_hash.to_yaml) - + file.close end end -- GitLab