From 9a3a7f503f9e8aabbdcd279ffcaa71939fe80953 Mon Sep 17 00:00:00 2001 From: Miguel Cervera Date: Wed, 26 Oct 2011 09:50:44 -0500 Subject: [PATCH] separate unzip method from copy_to_database method --- Gemfile | 2 +- app/controllers/source_codes_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index e95c5bf..a3a1d1f 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem "bcrypt-ruby", :require => "bcrypt" gem 'railroady' gem 'rubyzip2' #gem 'fastercsv' -gem 'ruby-debug19', :require => 'ruby-debug' +#gem 'ruby-debug19', :require => 'ruby-debug' # Use unicorn as the web server # gem 'unicorn' diff --git a/app/controllers/source_codes_controller.rb b/app/controllers/source_codes_controller.rb index 5b9f28e..2c630fd 100644 --- a/app/controllers/source_codes_controller.rb +++ b/app/controllers/source_codes_controller.rb @@ -151,7 +151,7 @@ def compare source_code = SourceCode.find(index) parametros[:files] << {:id => index, :code => source_code.code} end - debugger + #debugger request = Net::HTTP.post_form(URI.parse('http://localhost:3001/compare'), parametros) end