codahale/jdub — pull request #16 by ieure (2012-04-12 17:41:06+00:00)
Title: Base class for Transaction / Database

This refactors common code from `Database` and `Transaction` out into a `Queryable` trait. This also allows for methods to take a `Queryable` parameter, so they can operate within a transaction started by another method, or on their own.