ActiveRecord PostgreSQL auto-reconnection, works with 2.3 and 3.2 rails.
'Konstantin Makarchev'
gem "pg_reconnect", "~> 0.1.2"