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