Require rails 4.0.0 which was just released!

[Fixes #3260]