upgrade to rails 4 and connections working