Downgraded to rails 3.2.12 due to performance issues.