Establish ActiveRecord connection before forking