Commit 1e40df0

mo khan <mo@mokhan.ca>
2015-06-16 02:42:10
use rails logger.
1 parent c409a75
Changed files (1)
lib/temporary_storage.rb
@@ -1,7 +1,7 @@
 class TemporaryStorage
   def store(file)
     "#{tmp_dir}/#{File.basename(file.path).parameterize}".tap do |new_path|
-      puts ("Copying... #{file.path} to #{new_path}")
+      Rails.logger.debug("Copying... #{file.path} to #{new_path}")
       FileUtils.mv(file.path, new_path)
     end
   end