This project is archived and is in readonly mode.
Connection pooling
-
Wes Oldenbeuving
ConnectionPool.connected?(klass) will raise
NoMethodError: undefined method 'connected?' for nil:NilClasswhen there is no connection for the given klass. The attached patch fixes this by returning false when there is no connection. The patch includes a test which exposes the bug.
-
Repository
- State changed from new to resolved
(from [32089cbcc9ca3fb935f783e7a7ef2b60b7d43006]) Ensure ActiveRecord::ConnectionPool.connected? handles undefined connections. [#936 Connection pooling state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
