I upgraded from rails 3.0.4 to 3.1.0. Then I started getting these error messages when running rails server
, I had to change a couple of initializers like this:from wrap_parameters format: [:json]
to wrap_parameters :format => [:json]
Now WEBrick does start up but I get A LOT of these messages: syntax error, unexpected ':', expecting '=' ...er json: @page.errors, status: :unprocessable_entity }