QueueClassic/queue_classic — pull request #232 by jipiboily (2014-09-12 21:20:35+00:00)
Title: WIP - Detect Rails db connection

This is to make it as easy to use queue_classic with Rails, especially with Rails 4.2 + ActiveJob getting out soon-ish.

This is a work in progress. Any help on getting a test for that working would be more than welcomed as I am minitest noob and don't have much more time today for that.

Thoughts on how to test that with minitest?

Related to: https://github.com/QueueClassic/queue_classic/issues/228

TODO:
- [x] add detection of ActiveRecord and use its connection
- [ ] add test
- [ ] edit README to reflect this new reality
- [ ] add CHANGELOG entry