tchandy/octopus — pull request #218 by maximeg (2013-12-19 13:40:23+00:00)
Title: Properly handle ActiveRecord::Base.connected?

I noticed that with Octopus, `ActiveRecord::Base.connected?` always returns `false`.

This lead to some micro weirdness and among them the most annoying being the lack of AR timing in the logs :
```
Completed 200 OK in 597ms (Views: 87.0ms | Solr: 0.0ms)
# instead of
Completed 200 OK in 597ms (Views: 87.0ms | ActiveRecord: 31.9ms | Solr: 0.0ms)
```

(See at https://github.com/rails/rails/blob/master/activerecord/lib/active_record/railties/controller_runtime.rb)