Removing unnecessary logger creation.

master
Zach Dennis 2010-03-13 20:26:17 -05:00
parent 459aeb6fee
commit 5836e449fd
1 changed files with 0 additions and 2 deletions

View File

@ -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