padrino/padrino-framework — pull request #1750 by namusyaka (2014-08-24 01:23:42+00:00)
Title: Add ConnectionPoolWithConnection as middleware to application if ActiveRecord and thin are used, fixes #1749

ref #1749
This middleware will fix the problem.
Feel free to commit to this branch (I think the name of middleware can be better than now...).