Commit graph

3 commits

Author SHA1 Message Date
Arthur Neves
439d0d2e37
Check Rails.version instead of ENV
Like that we can have code that works on multiple Rails versions, and we
dont need to mix a new method on Kernel.
Also, this makes easier to have multiple versions.
For instance, before master was 4.2, which is not the case anymore, so
on the code we should check versions and not Environment variables
2015-04-28 22:27:47 -04:00
Godfrey Chan
4d188ca5b0 Added back the last_use timestamp to the AbstractAdapter
This was removed in 9e457a8654
2014-11-10 01:05:47 -08:00
Sam
9fc7c145b3 FEATURE: added method for draining idle connections 2014-08-11 15:13:37 +10:00