Reproducing bug in Rails 4.2rc