Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Automatic closure of connections in threads is deprecated. For example | Aaron Patterson | 2011-11-29 | 1 | -26/+5 |
| | | | | | | | | | | | | | | | | | 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. | ||||
* | pushing caching and visitors down to the connection | Aaron Patterson | 2011-11-19 | 1 | -37/+0 |
| | |||||
* | Make it the responsibility of the connection to hold onto an ARel visitor ↵ | Jon Leighton | 2011-08-08 | 1 | -0/+4 |
| | | | | for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. | ||||
* | 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. | ||||
* | adding active_connection? to the connection pool | Aaron Patterson | 2011-03-28 | 1 | -0/+8 |
| | |||||
* | Fix test/cases/connection_pool_test.rb for sqlite3 in-memory db | Jon Leighton | 2011-02-14 | 1 | -0/+10 |
| | |||||
* | primary keys should not be cleared on cache clear, fixing oracle tests | Aaron Patterson | 2011-02-08 | 1 | -3/+1 |
| | |||||
* | column cache now lives on the connection pool | Aaron Patterson | 2011-02-04 | 1 | -0/+20 |
| | |||||
* | making sure primary key is set on the columns | Aaron Patterson | 2011-02-04 | 1 | -0/+9 |
| | |||||
* | connection pool can cache column, table, and primary key information | Aaron Patterson | 2011-02-04 | 1 | -0/+35 |
| | |||||
* | fix whitespace errors | Aaron Patterson | 2010-11-30 | 1 | -2/+2 |
| | |||||
* | fix ruby 1.9 deadlock problem, fixes #5736 add connection pool tests | Hemant Kumar | 2010-10-06 | 1 | -0/+29 |
| | |||||
* | adding a test for clearing stale connections | Aaron Patterson | 2010-07-16 | 1 | -0/+31 |
| | |||||
* | fixing test file name | Aaron Patterson | 2010-07-16 | 1 | -25/+0 |
| | |||||
* | fixing whitespace errors | Aaron Patterson | 2010-07-16 | 1 | -4/+4 |
| | |||||
* | Add test case for ActiveRecord::ConnectionAdapters::ConnectionManagement. | Manfred Stienstra | 2009-02-25 | 1 | -0/+25 |
- Make sure ConnectionManagement clears connections after each call, except in tests Signed-off-by: Joshua Peek <josh@joshpeek.com> |