Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix CI | Jon Leighton | 2011-12-28 | 1 | -9/+9 |
| | |||||
* | Removed test which works only < 1.9 | Arun Agrawal | 2011-12-21 | 1 | -8/+0 |
| | |||||
* | pushing caching and visitors down to the connection | Aaron Patterson | 2011-11-19 | 1 | -72/+0 |
| | |||||
* | Transactional fixtures enlist all active database connections. | Jeremy Kemper | 2011-10-05 | 1 | -0/+2 |
| | | | | You can use multiple databases in your tests without disabling transactional fixtures. | ||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
| | | | | 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. | ||||
* | implements ActiveRecord::Base.connection_config to be able to check the ↵ | Xavier Noria | 2011-03-05 | 1 | -0/+5 |
| | | | | configuration of the current connection at runtime | ||||
* | Enable the sqlite3 in-memory test connection to work | Jon Leighton | 2011-01-11 | 1 | -1/+1 |
| | |||||
* | removing useless ternary | Aaron Patterson | 2010-08-19 | 1 | -1/+1 |
| | |||||
* | expected value should come first in assert_equal | Neeraj Singh | 2010-05-18 | 1 | -3/+3 |
| | | | | | | [#4630 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move AR logging responsibilities to ActiveRecord::Railties::Subscriber. | José Valim | 2010-01-13 | 1 | -12/+1 |
| | |||||
* | Expose connections available in the connection pool. | José Valim | 2010-01-11 | 1 | -0/+2 |
| | |||||
* | Resolve deadlock in pooled connections test | Jeremy Kemper | 2009-11-10 | 1 | -1/+1 |
| | |||||
* | Modify connection pool callbacks to be compatible w/ new style | Nick Sieger | 2009-10-16 | 1 | -2/+19 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Tests should use ActiveRecord::Base.connection.rollback_db_transaction to ↵ | steve | 2009-05-01 | 1 | -1/+1 |
| | | | | | | rollback a transaction Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ensure ActiveRecord::Base.connection_pool.with_connection creates a new ↵ | steve | 2009-05-01 | 1 | -0/+29 |
| | | | | | | connection only when needed [#1752 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix typo in pool_conections_test [#1350 state:committed] | Amos King | 2008-11-14 | 1 | -1/+1 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Timeout the connection pool monitor on ruby 1.8 only | Jeremy Kemper | 2008-11-08 | 1 | -4/+7 |
| | |||||
* | Make sure ActiveRecord::Base.connected? doesn't raise an exception for ↵ | Pratik Naik | 2008-11-06 | 1 | -0/+5 |
| | | | | defined connections | ||||
* | Ensure ActiveRecord::ConnectionPool.connected? handles undefined ↵ | Wes Oldenbeuving | 2008-11-06 | 1 | -0/+8 |
| | | | | | | connections. [#936 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Make clear_active_connections! also return stale connections back to the pool | Nick Sieger | 2008-08-29 | 1 | -0/+87 |
- also clean up some cruft remaining from per-thread connection cache |