igrigorik/em-synchrony — pull request #91 by prepor (2011-12-07 10:46:16+00:00)
Title: ActiveRecord which works not only in FiberPool

Now with transactions and backward compability :)

Its required Mutex realization and small patch to EM::Synchrony::ConnectionPool (returning reserved connections on acquiring and public `connection` method for return current acquired connection).

This is to make possible to use all benefits of async nature of EM::Synchrony:

```ruby
def index
@result = FiberIterator.new(params[:ids], 10).map do |id|
User.find(id)
end
end
```