Update Rails to 3.1.10 for security

Refs: https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion