Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
Connection pooling in ActiveRecord is an ugly hack. It works OK with Rails because ActionController removes the current thread's connection from the pool after every request. If you use another framework, ActiveRecord will pause every few requests because it will have a connection pool timeout error.
jeremyevans #sequel -- That's why you'll probably need ActiveRecord::Base.clear_reloadable_connections! after every request in sinatra

Don't be the product, buy the product!