Jared Luxenberg
e12f9c4951
Model#import fails to find model's primary key sequence
...
Fixes a bug where Model#import does not work when a model's primary key
has no associated 'sequence' in the database. If a value for the primary
key is specified, then the insert should not require a database
'sequence' to generate a value for that primary key field.
2012-08-04 17:35:50 -07:00
Zach Dennis
5c287f1042
Added back in basic benchmark support. To run:
...
ruby benchmark/benchmark.rb --adapter mysql --num 1000
ruby benchmark/benchmark.rb --adapter mysql --num 1000 --to-csv /tmp/results.csv
ruby benchmark/benchmark.rb --adapter mysql --num 1000 --to-html /tmp/results.html
2010-04-08 23:12:28 -04:00
Zach Dennis
075104a944
Finished porting over MySQL import functionality.
...
* removed assertions on #num_inserts, that is db-specific and is handled in details by abstract_adapter_test.
2010-03-13 22:30:29 -05:00
Zach Dennis
e8271778b7
About 85% through porting over MySQL on duplicate key functionality.
2010-03-13 21:33:03 -05:00
Zach Dennis
db173ef907
Implementing the majority of generic #import tests.
2010-03-11 23:52:16 -05:00
Zach Dennis
ca5f83e1cf
Initial commit of making ar-extensions import Rails 3 friendly
2010-03-11 21:32:56 -05:00