Closed cmoralesweb closed 7 years ago
Optional BelongsTo relations, which are set with a select, cannot be unset (aka set to null): the generated query is incorrect:
SQL: updateuserssetupdated_at= 2016-08-05 10:04:53,external_id= whereid= 145
SQL: update
set
= 2016-08-05 10:04:53,
= where
= 145
(notice the missing value for the external_id field)
external_id
There should be a way to force that null, somehow similarly to what we do to checkboxes.
Optional BelongsTo relations, which are set with a select, cannot be unset (aka set to null): the generated query is incorrect:
SQL: update
usersset
updated_at= 2016-08-05 10:04:53,
external_id= where
id= 145
(notice the missing value for the
external_id
field)There should be a way to force that null, somehow similarly to what we do to checkboxes.