From 5836e449fd7c56d51fd90d0853ee580d3787dc03 Mon Sep 17 00:00:00 2001 From: Zach Dennis Date: Sat, 13 Mar 2010 20:26:17 -0500 Subject: [PATCH] Removing unnecessary logger creation. --- lib/ar-extensions/import.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ar-extensions/import.rb b/lib/ar-extensions/import.rb index ce81773..e682668 100644 --- a/lib/ar-extensions/import.rb +++ b/lib/ar-extensions/import.rb @@ -154,8 +154,6 @@ class ActiveRecord::Base # * failed_instances - an array of objects that fails validation and were not committed to the database. An empty array if no validation is performed. # * num_inserts - the number of insert statements it took to import the data def import( *args ) - @logger = Logger.new(STDOUT) - @logger.level = Logger::DEBUG options = { :validate=>true, :timestamps=>true } options.merge!( args.pop ) if args.last.is_a? Hash