Isolated example of error 500 in Rails 4