Finished porting over MySQL import functionality.

* removed assertions on #num_inserts, that is db-specific and is handled in details by abstract_adapter_test.
This commit is contained in:
Zach Dennis 2010-03-13 22:01:01 -05:00
parent e8271778b7
commit 075104a944
7 changed files with 123 additions and 95 deletions

View file

@ -45,7 +45,7 @@ module ActiveRecord # :nodoc:
sql2insert = base_sql + values.join( ',' ) + post_sql
insert( sql2insert, *args )
end
end
end
number_of_inserts
end

View file

@ -289,7 +289,6 @@ class ActiveRecord::Base
values_sql,
"#{self.class.name} Create Many Without Validations Or Callbacks" )
end
number_inserted
end