xxxxxxxxxx
Model_name.update(
{ title: 'a very different title now' },
{ where: { id: 1 } }
)
xxxxxxxxxx
Programming is like a "choose your
own adventure game" except every
path leads you to a StackOverflow
question from 2013 describing the
same bug, with no answer.
So, you're searching for the holy grail?
xxxxxxxxxx
https://stackoverflow.com/
Here it is. I hope you dont mind me drinking out of it first
Dont only copy the code, try to understand it!