Commit graph

6 commits

Author SHA1 Message Date
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