Commit graph

11 commits

Author SHA1 Message Date
Jon Rowe
3b109a1ca8 Merge pull request #283 from Strech/master
PostgreSQL truncation for tables without sequence
2015-01-02 23:13:33 +11:00
Jon Rowe
bd1ee00b36 cleanup post #279 2014-12-06 09:58:41 +11:00
Strech (Sergey Fedorov)
e6717b9449 Specs for table truncation without id seq 2014-07-30 12:31:18 +06:00
Josh Lane
0154277dc4 make specs play well together 2014-06-25 13:11:20 -07:00
Josh Lane
0a66461050 fix datamapper sqlite adapter truncation 2014-06-24 15:27:15 -07:00
Rob Hunter
307f1ca4ce make existing YAML dependency explicit
(the ActiveRecord tests always have YAML loaded already,
but what about when you're not running the ActiveRecord
tests?)
2014-03-05 12:08:41 +11:00
chrismo
3cf6d8291d Add truncate_tables method to SQLiteAdapter.
Without this, the PostgreSQLAdapter truncate_tables method would be
called and go kerblooie cuz t'ain't no PostgreSQL database in play.
2013-09-26 17:04:56 -05:00
Tom Meier
9bf038d5c2 Fix MySqlAdapter superclass bug via class_eval loading of superclasses 2013-05-15 16:51:21 +10:00
stanislaw
6a80e36cf6 ActiveRecord: autocreation of databases 2012-08-04 19:05:26 -06:00
stanislaw
d8be115e92 Improvements for spec/support/active_record
- All adapters rely on db/config.yml configuration
- All adapters load the same schema
2012-08-04 19:05:26 -06:00
stanislaw
e2b5086d47 Fast truncation strategy for ActiveRecord with mysql, mysql2 or pg 2012-08-04 18:55:27 -06:00