Regression bug in Rails 4 beta 1