Upgrade to Rails 4.0.5.
Merge Rails 4.0.5 hotfix into develop.