rails/activerecord/test
Aaron Patterson 0e2477b602 Automatic closure of connections in threads is deprecated. For example
the following code is deprecated:

Thread.new { Post.find(1) }.join

It should be changed to close the database connection at the end of
the thread:

Thread.new {
  Post.find(1)
  Post.connection.close
}.join

Only people who spawn threads in their application code need to worry
about this change.
2011-11-29 15:04:41 -08:00
..
active_record/connection_adapters pushing caching and visitors down to the connection 2011-11-19 20:19:53 -08:00
assets move assets and models 2008-01-18 07:27:03 +00:00
cases Automatic closure of connections in threads is deprecated. For example 2011-11-29 15:04:41 -08:00
fixtures restores the API docs of AR::Fixtures, made a quick pass over them, revises link in fixture template [closes #2840] 2011-09-03 15:20:30 -07:00
migrations in the middle of refactoring 2010-12-03 12:00:09 -08:00
models Deprecate set_locking_column in favour of self.locking_column= 2011-11-29 20:13:37 +00:00
schema Added ActiveRecord::Base.store for declaring simple single-column key/value stores [DHH] 2011-10-13 16:24:22 -05:00
support Add require 'pathname' as it has not already been required in some circumstances 2011-06-17 14:55:34 +01:00
.gitignore Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. 2011-06-04 23:47:03 +01:00
config.example.yml To support ActiveRecord unit tests for IBM DB2 2011-10-02 22:51:01 -04:00
config.rb Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/rails 2008-01-21 17:20:51 +00:00