Hi Jeremy, I called "set_dataset dataset.filter(deleted: false)" in my
Field class.
Now, after upgrading Sequel, I get a problem because previously if I called
instance.update(position: 2) it would generate something like "update
fields set position=2 where (id=23)" but now it generates something like:
update fields set position=2 where (("deleted" is false) and ("id" = 23));
How can I ignore the default dataset when saving an existing instance that
would be filtered otherwise?
Best,
Rodrigo.
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.