Switched to secure version of rails 3.1.10.