Troubles with ActionController::DoubleRenderError

Hello all!

I'm having troubles with my ruby application.

When I click on the submit button, the browser shows me this: We're
sorry, but something went wrong.

The production.log file has this text: