Upgraded rails version to fix
https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion