an attempt to fix `prepared statement "a1" already exists" issue
try again
third try
a better after_fork block without duplicating the db info
pass database.yml thru ERB parser first
Merge pull request #186 from jiehanzheng/issue186

ActiveRecord::StatementInvalid - PG::Error: ERROR:  prepared statement "a1" already exists