fixed database config and updated to rails 3.2.14