Join GitHub today
Problem with query generated from update operation with where condition to jsonb type #3138
I have a test suite that used to run properly in the version 2.0.0-rc8 with Postgresql 9.4. However, when I updated to the version 2.0.2, It broke my tests that update my models.
The problem is the where condition of my update method of the Model. The code as follows:
Using email@example.com, it generates this sql:
After updating to firstname.lastname@example.org, I am getting the following sql:
About the sql above, the main difference is that after the WHERE condition, the "id" is added.
While this problem is not solved, I am using the following workaround:
I also catch this error:
Thanks a lot!