When I save a form with nested_form_fields the console remains in BEGIN - Ruby on Rails

1

I need your help please.
I can not create a new record with other nested records, because the console remains in BEGIN , that is, only the first query is output, which is the one that creates the main record, but never continues to insert the nested ones. When I update if it works perfectly. I tried MySQL to change tx_isolation from REPEATABLE-READ to READ-UNCOMMITTED but nothing happened. I attach the images so that they understand the matter a bit more.
I appreciate any help.

    
asked by Ronald Espinoza 22.08.2016 в 05:31
source

1 answer

0

first quote that I have Debian Jessie operating system, I changed to SQLite and it worked perfectly for me. Then I saw the need to find a solution because in my company it is necessary to work with MySQL and I happened to find an update to the server. Install such an update (Server version: 5.7.14 MySQL Community Server (GPL)) and after installing the update I went back to test the nested forms and they work perfectly well, thank God.

    
answered by 24.08.2016 / 15:47
source