Update Rails to 4.0.5

:fork_and_knife: Updates Rails to security release 4.0.5 for [CVE-2014-0130](https://groups.google.com/forum/#!topic/rubyonrails-security/PyJo7_m-Ehk).