Fix for security fix - rails 3.2.9 -> 2.2.11