Upgrading after recent Rails security issues.

As detailed here, other gems may also have similar vulnerabilities:
https://gist.github.com/4532291